C# Class DungeonMasterEngine.DungeonContent.Entity.Creature

Inheritance: Entity
Mostra file Open project: ggrrin/DungeonMaster

Private Properties

Property Type Description
EstablishNewBase void
Fight System.Threading.Tasks.Task
FindEnemies bool
FindNextWatchLocation IReadOnlyList
GetPathHome bool
GoHome System.Threading.Tasks.Task
Hount System.Threading.Tasks.Task
Live void
MoveThroughSpaces Task
MoveToNeighbourTile Task
MoveToSpace Task
PrepareForFight System.Threading.Tasks.Task
WatchAround System.Threading.Tasks.Task

Public Methods

Method Description
Creature ( IGroupLayout layout, ISpaceRouteElement location, RelationToken relationToken, IEnumerable enemiesTokens, int moveDuration, int detectRange, int sightRange ) : System
ExchangeItems ( IGrabableItem item ) : IGrabableItem
GetProperty ( IPropertyFactory propertyType ) : IProperty
GetSkill ( ISkillFactory skillType ) : ISkill
Kill ( ) : void
ToString ( ) : string
Update ( GameTime time ) : void

Protected Methods

Method Description
OnLocationChanged ( ) : void

Private Methods

Method Description
EstablishNewBase ( ) : void
Fight ( Tile enemyTile, MapDirection moveDirection ) : System.Threading.Tasks.Task
FindEnemies ( ) : bool
FindNextWatchLocation ( ) : IReadOnlyList
GetPathHome ( ) : bool
GoHome ( ) : System.Threading.Tasks.Task
Hount ( ) : System.Threading.Tasks.Task
Live ( ) : void
MoveThroughSpaces ( Tile targetTile, bool findEnemies ) : Task
MoveToNeighbourTile ( Tile tile, bool findEnemies ) : Task
MoveToSpace ( ISpaceRouteElement destination ) : Task
PrepareForFight ( Tile enemyTile ) : System.Threading.Tasks.Task
WatchAround ( ) : System.Threading.Tasks.Task

Method Details

Creature() public method

public Creature ( IGroupLayout layout, ISpaceRouteElement location, RelationToken relationToken, IEnumerable enemiesTokens, int moveDuration, int detectRange, int sightRange ) : System
layout IGroupLayout
location ISpaceRouteElement
relationToken RelationToken
enemiesTokens IEnumerable
moveDuration int
detectRange int
sightRange int
return System

ExchangeItems() public method

public ExchangeItems ( IGrabableItem item ) : IGrabableItem
item IGrabableItem
return IGrabableItem

GetProperty() public method

public GetProperty ( IPropertyFactory propertyType ) : IProperty
propertyType IPropertyFactory
return IProperty

GetSkill() public method

public GetSkill ( ISkillFactory skillType ) : ISkill
skillType ISkillFactory
return ISkill

Kill() public method

public Kill ( ) : void
return void

OnLocationChanged() protected method

protected OnLocationChanged ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Update() public method

public Update ( GameTime time ) : void
time Microsoft.Xna.Framework.GameTime
return void