/// <summary> /// method called when the enemy FSM is created, /// Add the enemy FSM to the list an start the FSM /// </summary> /// <param name="machine"></param> private void AddNewEnemyFSM(FSMachine machine) { // add the new FSM to the list _stateMachines.Add(machine); // call to init the state machine machine.Create(); }