MyDungeon Documentation
MovingDungeonObject Methods |
The MovingDungeonObject type exposes the following members.
Methods
Name | Description | |
---|---|---|
CheckHit |
Checks if entity is blocked by an object on the blocking layer in a desired direction
| |
LoseHealth |
Subtracts health from the entity
| |
Move |
Checks if the entity can move in the provided direction
| |
RecoverHealth |
Adds health to the entity
| |
SmoothMovement |
Moves entity from their current position to their desired position with a smooth animation
| |
Start |
Initializes the 2DPhysics components, the entity's position, and animation movement multiplier
| |
WaitForTurnEnd |
Used to ensure a turn does not end early
|
Extension Methods
Name | Description | |
---|---|---|
Invoke |
Invoke using a delegate
(Defined by MonoBehaviourExtensions.) |
See Also