C# Class AcademyRPG.Ninja

Inheritance: Character, IFighter, IGatherer
Afficher le fichier Open project: vladislav-karamfilov/TelerikAcademy Class Usage Examples

Méthodes publiques

Méthode Description
GetTargetIndex ( List availableTargets ) : int
Ninja ( string name, Point position, int owner ) : System
TryGather ( IResource resource ) : bool

Method Details

GetTargetIndex() public méthode

public GetTargetIndex ( List availableTargets ) : int
availableTargets List
Résultat int

Ninja() public méthode

public Ninja ( string name, Point position, int owner ) : System
name string
position Point
owner int
Résultat System

TryGather() public méthode

public TryGather ( IResource resource ) : bool
resource IResource
Résultat bool