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); }