public PolicemanAIEntity(Vector pos, Vector scale, double rad) : base(pos,scale,rad) { stateMachine = new StateMachine<PolicemanAIEntity>(this); stateMachine.setPreviousState(null); stateMachine.setGlobalState(null); }
public PolicemanAIEntity(Vector pos) : base(pos) { stateMachine = new StateMachine<PolicemanAIEntity>(this); stateMachine.setPreviousState(null); stateMachine.setGlobalState(null); }
public CivilianAIEntity() : base() { stateMachine = new StateMachine<CivilianAIEntity>(this); stateMachine.setPreviousState(null); stateMachine.setGlobalState(new CivilianGlobalState()); stateMachine.setCurrentState(new CivilianIdleState()); }
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()); }
public CivilianAIEntity(Vector pos, Vector scale) : base(pos,scale) { stateMachine = new StateMachine<CivilianAIEntity>(this); stateMachine.setPreviousState(null); stateMachine.setGlobalState(null); }