Example #1
0
 public PolicemanAIEntity(Vector pos, Vector scale, double rad)
     : base(pos,scale,rad)
 {
     stateMachine = new StateMachine<PolicemanAIEntity>(this);
     stateMachine.setPreviousState(null);
     stateMachine.setGlobalState(null);
 }
Example #2
0
 public PolicemanAIEntity(Vector pos)
     : base(pos)
 {
     stateMachine = new StateMachine<PolicemanAIEntity>(this);
     stateMachine.setPreviousState(null);
     stateMachine.setGlobalState(null);
 }
Example #3
0
 public CivilianAIEntity()
     : base()
 {
     stateMachine = new StateMachine<CivilianAIEntity>(this);
     stateMachine.setPreviousState(null);
     stateMachine.setGlobalState(new CivilianGlobalState());
     stateMachine.setCurrentState(new CivilianIdleState());
 }
Example #4
0
 public CivilianAIEntity(Vector pos, Vector scale, double rad)
     : base(pos,scale,rad)
 {
     stateMachine = new StateMachine<CivilianAIEntity>(this);
     stateMachine.setPreviousState(null);
     stateMachine.setGlobalState(new CivilianGlobalState());
     stateMachine.setCurrentState(new CivilianIdleState());
 }
Example #5
0
 public CivilianAIEntity(Vector pos, Vector scale)
     : base(pos,scale)
 {
     stateMachine = new StateMachine<CivilianAIEntity>(this);
     stateMachine.setPreviousState(null);
     stateMachine.setGlobalState(null);
 }