public override void FillStates(JMStateMachine StateMachine) { base.FillStates(StateMachine); StateMachine.AddState("MoveToLeft", new JMCS_B_MoveToLeft()); StateMachine.AddState("MoveToRight", new JMCS_B_MoveToRight()); StateMachine.AddState("MoveToForward", new JMCS_B_MoveToForward()); StateMachine.AddState("Dead", new JMCS_B_Dead()); }
public void Init() { StateMachine = new JMStateMachine(); FillStateScript.FillStates(StateMachine); StateMachine.InitStates(this); }
public virtual void FillStates(JMStateMachine StateMachine) { StateMachine.SetDefaultStateName(DefaultStateName); }
public override void FillStates(JMStateMachine StateMachine) { base.FillStates(StateMachine); StateMachine.AddState("Idle", new JMPS_B_Idle()); }