MyDungeon Documentation
PlayerDungeon Methods |
The PlayerDungeon type exposes the following members.
Methods
Name | Description | |
---|---|---|
AttemptMove | ||
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.) | |
RecoverHealth |
Adds health to the entity
(Inherited from MovingDungeonObject.) | |
SmoothMovement |
Moves entity from their current position to their desired position with a smooth animation
(Inherited from MovingDungeonObject.) | |
Start |
Initializes the 2DPhysics components, the entity's position, and animation movement multiplier
(Inherited from MovingDungeonObject.) | |
WaitForTurnEnd |
Used to ensure a turn does not end early
(Inherited from MovingDungeonObject.) |
Extension Methods
Name | Description | |
---|---|---|
Invoke |
Invoke using a delegate
(Defined by MonoBehaviourExtensions.) |
See Also