Пример #1
0
 public UnitController(Unit u, GameplayManager gm)
 {
     controlledUnit = u;
     this.gm = gm;
     u.Controller = this;
     fsm = new UnitFSM(this,gm);
     SetSteering(new StandStill(gm, u));
 }
 public UnitController(Unit u, GameplayManager gm) {
     controlledUnit = u;
     this.gm = gm;
     u.Controller = this;
     fsm = new UnitFSM(this);
 }