Creature Fields

MyDungeon

Creature Fields

The Creature type exposes the following members.

Fields
  NameDescription
Public fieldBlockingLayer
Layer used for collision checking in dungeons
(Inherited from MovingDungeonObject.)
Protected fieldBoxCollider (Inherited from MovingDungeonObject.)
Protected fieldCurHealth
Entity's current health
(Inherited from MovingDungeonObject.)
Public fieldDisplayName
Name of the entity
(Inherited from MovingDungeonObject.)
Protected fieldInverseMoveTime
Inverse of MoveTime used for SmoothMovement
(Inherited from MovingDungeonObject.)
Public fieldMaxHealth
Entity's maximum HP value
(Inherited from MovingDungeonObject.)
Public fieldMoveTime
How long the entity's turn lasts
(Inherited from MovingDungeonObject.)
Protected fieldMoving
Entity's current moving state
(Inherited from MovingDungeonObject.)
Protected fieldPosX
Entity's current X position
(Inherited from MovingDungeonObject.)
Protected fieldPosY
Entity's current Y position
(Inherited from MovingDungeonObject.)
Protected fieldRb2D (Inherited from MovingDungeonObject.)
Public fieldStrength
Base damage value attacks will do
(Inherited from MovingDungeonObject.)
Top
See Also