PlayerDungeon Methods

MyDungeon

PlayerDungeon Methods

The PlayerDungeon type exposes the following members.

Methods
  NameDescription
Protected methodAttemptMove
Protected methodCheckHit
Checks if entity is blocked by an object on the blocking layer in a desired direction
(Inherited from MovingDungeonObject.)
Public methodLoseHealth
Subtracts health from the entity
(Inherited from MovingDungeonObject.)
Protected methodMove
Checks if the entity can move in the provided direction
(Inherited from MovingDungeonObject.)
Public methodRecoverHealth
Adds health to the entity
(Inherited from MovingDungeonObject.)
Protected methodSmoothMovement
Moves entity from their current position to their desired position with a smooth animation
(Inherited from MovingDungeonObject.)
Protected methodStart
Initializes the 2DPhysics components, the entity's position, and animation movement multiplier
(Inherited from MovingDungeonObject.)
Protected methodWaitForTurnEnd
Used to ensure a turn does not end early
(Inherited from MovingDungeonObject.)
Top
Extension Methods
  NameDescription
Public Extension MethodInvoke
Invoke using a delegate
(Defined by MonoBehaviourExtensions.)
Top
See Also