Creature Methods
From MyDungeon
MyDungeon Documentation
Creature Methods |
The Creature type exposes the following members.
| Name | Description | |
|---|---|---|
| AddCreatureToList |
Adds a creature to the list
| |
| AttemptMoveT | ||
| CheckHit |
Checks if entity is blocked by an object on the blocking layer in a desired direction
(Inherited from MovingDungeonObject.) | |
| LoseHealth |
Subtracts health from the entity
(Inherited from MovingDungeonObject.) | |
| Move |
Checks if the entity can move in the provided direction
(Inherited from MovingDungeonObject.) | |
| MoveCreature | ||
| OnCantMoveT | ||
| RecoverHealth |
Adds health to the entity
(Inherited from MovingDungeonObject.) | |
| RemoveCreatureFromList |
Removes a creature from the list
| |
| SmoothMovement |
Moves entity from their current position to their desired position with a smooth animation
(Inherited from MovingDungeonObject.) | |
| Start |
Add the creature to the creature list and sets its health value
(Overrides MovingDungeonObjectStart.) | |
| Update |
Checks if a creature has lost all its HP and removes it from the list if so
| |
| WaitForTurnEnd |
Used to ensure a turn does not end early
(Inherited from MovingDungeonObject.) |
| Name | Description | |
|---|---|---|
| Invoke |
Invoke using a delegate
(Defined by MonoBehaviourExtensions.) |