Method | Description | |
---|---|---|
AddTemporaryEffect ( ITemporaryEffect effect ) : void | ||
AttackCreature ( ICreature &creature ) : void | ||
Creature ( string name, Vector2 worldIndex, MovementType movementType, |
||
Die ( ) : void | ||
Draw ( |
||
GetItemFromInventory ( Items itemType ) : IItem | ||
IsPlayer ( ) : bool | ||
TakeTurn ( ) : void | ||
Update ( |
Method | Description | |
---|---|---|
TemporaryEffectCompleted ( ITemporaryEffect sender ) : void |
public AddTemporaryEffect ( ITemporaryEffect effect ) : void | ||
effect | ITemporaryEffect | |
return | void |
public AttackCreature ( ICreature &creature ) : void | ||
creature | ICreature | |
return | void |
public Creature ( string name, Vector2 worldIndex, MovementType movementType, |
||
name | string | |
worldIndex | Vector2 | |
movementType | MovementType | |
hitPoints | ||
mana | ||
turnStrategy | ITurnStrategy | |
drawStrategy | IDrawStrategy | |
deathStrategy | IDeathStrategy | |
attackStrategy | IAttackStrategy | |
world | World | |
remains | IRemains | |
return | System |
public Draw ( |
||
gameTime | ||
return | void |
public GetItemFromInventory ( Items itemType ) : IItem | ||
itemType | Items | |
return | IItem |
public Update ( |
||
gameTime | ||
return | void |