MyDungeon Documentation
![]() | CreatureController Class |
The Creature Controller component tracks all creatures on the map and executes their AI during their turn

Namespace: MyDungeon.Controllers
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0

C#
public class CreatureController : MonoBehaviour
The CreatureController type exposes the following members.

Name | Description | |
---|---|---|
![]() | CreatureController | Initializes a new instance of the CreatureController class |

Name | Description | |
---|---|---|
![]() | Awake |
Initializes the creatures list
|
![]() | MoveCreatures |
Executes each creature's AI via their MoveCreature method
|
![]() | Update |
Checks that it is not currently the player's turn then executes the MoveCreatures coroutine
|

Name | Description | |
---|---|---|
![]() | CreaturesMoving |
Indicates whether or not it is currently the creatures' turn
|

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