Méthode | 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 ( |
Méthode | Description | |
---|---|---|
TemporaryEffectCompleted ( ITemporaryEffect sender ) : void |
public AddTemporaryEffect ( ITemporaryEffect effect ) : void | ||
effect | ITemporaryEffect | |
Résultat | void |
public AttackCreature ( ICreature &creature ) : void | ||
creature | ICreature | |
Résultat | 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 | |
Résultat | System |
public Draw ( |
||
gameTime | ||
Résultat | void |
public GetItemFromInventory ( Items itemType ) : IItem | ||
itemType | Items | |
Résultat | IItem |
public Update ( |
||
gameTime | ||
Résultat | void |