C# Class AcademyRPG.Ninja

Inheritance: Character, IFighter, IGatherer
ファイルを表示 Open project: vladislav-karamfilov/TelerikAcademy Class Usage Examples

Public Methods

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

Method Details

GetTargetIndex() public method

public GetTargetIndex ( List availableTargets ) : int
availableTargets List
return int

Ninja() public method

public Ninja ( string name, Point position, int owner ) : System
name string
position Point
owner int
return System

TryGather() public method

public TryGather ( IResource resource ) : bool
resource IResource
return bool