public InputFSMIdleState(InputFSM fsm) : base(fsm)
 {
 }
 //移动状态的构造函数,传入所属状态机,并且调用基类的的构造函数
 public InputFSMMoveState(InputFSM fsm) : base(fsm)
 {
 }
Example #3
0
 public InputFSMAttackState(InputFSM fsm) : base(fsm)
 {
 }
Example #4
0
 public InputFSMSummonState(InputFSM fsm) : base(fsm)
 {
 }
 public InputFSMCastState(InputFSM fsm) : base(fsm)
 {
 }
 //构造函数,protected是不想被外部类new
 protected InputFSMState(InputFSM fsm)
 {
     this.FSM = fsm;
 }