public FSMAction(FSMState owner, AI.AIController aiController) { this.owner = owner; this.aiController = aiController; }
public TextAction(FSMState owner, AI.AIController aiController) : base(owner, aiController) { }
//The constructor initialises the class and gives the the FSM a unique name or id. public FSM(string name) { this.name = name; this.currentState = null; stateMap = new Dictionary <string, FSMState>(); }