C# Class AcademyRPG.Giant

Inheritance: Character, IFighter, IGatherer
Show file Open project: vladislav-karamfilov/TelerikAcademy

Public Methods

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

Method Details

GetTargetIndex() public method

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

Giant() public method

public Giant ( string name, Point position ) : System
name string
position Point
return System

TryGather() public method

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