MyDungeon Documentation
![]() | PlayerDungeonController Methods |
The PlayerDungeonController type exposes the following members.

Name | Description | |
---|---|---|
![]() | Attack | |
![]() | AttemptMove |
Attempts to move the player and ends the player's turn if they moved
(Overrides PlayerDungeonAttemptMove(Int32, Int32).) |
![]() | CheckHit |
Checks if entity is blocked by an object on the blocking layer in a desired direction
(Inherited from MovingDungeonObject.) |
![]() | CheckIfGameOver |
Check if player is out of HP and if so disable the PlayerDungeonController
|
![]() | LoseHealth |
Reduce player's current health and executes UpdateHealth
(Overrides MovingDungeonObjectLoseHealth(Int32).) |
![]() | Move |
Checks if the entity can move in the provided direction
(Inherited from MovingDungeonObject.) |
![]() | RecoverHealth |
Increase player's current health and executes UpdateHealth
(Overrides MovingDungeonObjectRecoverHealth(Int32).) |
![]() | SmoothMovement |
Moves entity from their current position to their desired position with a smooth animation
(Inherited from MovingDungeonObject.) |
![]() | Start |
Sets the player's current health
(Overrides MovingDungeonObjectStart.) |
![]() | UpdateHealth |
Ensure health does not go above MaxHealth or below 0 then executes CheckIfGameOver
|
![]() | WaitForTurnEnd |
Used to ensure a turn does not end early
(Inherited from MovingDungeonObject.) |

Name | Description | |
---|---|---|
![]() | Invoke |
Invoke using a delegate
(Defined by MonoBehaviourExtensions.) |
