MyDungeon Documentation
![]() | Creature Class |
Base class for entities other than the player in the dungoen

SystemObject Object
Component
Behaviour
MonoBehaviour
MyDungeon.EntitiesMovingDungeonObject
MyDungeon.EntitiesCreature
Component
Behaviour
MonoBehaviour
MyDungeon.EntitiesMovingDungeonObject
MyDungeon.EntitiesCreature
Namespace: MyDungeon.Entities
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0

C#
public abstract class Creature : MovingDungeonObject
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 | |
---|---|---|
![]() | BlockingLayer |
Layer used for collision checking in dungeons
(Inherited from MovingDungeonObject.) |
![]() | BoxCollider | (Inherited from MovingDungeonObject.) |
![]() | CurHealth |
Entity's current health
(Inherited from MovingDungeonObject.) |
![]() | DisplayName |
Name of the entity
(Inherited from MovingDungeonObject.) |
![]() | InverseMoveTime |
Inverse of MoveTime used for SmoothMovement
(Inherited from MovingDungeonObject.) |
![]() | MaxHealth |
Entity's maximum HP value
(Inherited from MovingDungeonObject.) |
![]() | MoveTime |
How long the entity's turn lasts
(Inherited from MovingDungeonObject.) |
![]() | Moving |
Entity's current moving state
(Inherited from MovingDungeonObject.) |
![]() | PosX |
Entity's current X position
(Inherited from MovingDungeonObject.) |
![]() | PosY |
Entity's current Y position
(Inherited from MovingDungeonObject.) |
![]() | Rb2D | (Inherited from MovingDungeonObject.) |
![]() | Strength |
Base damage value attacks will do
(Inherited from MovingDungeonObject.) |

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