public TrackBullet(UnitBase shooter, UnitBase target) { ID = id; Shooter = shooter; Target = target; Movement = new TrackMovement(this); Movement.Retarget(target); }
public UnitController(UnitBase unit) { this.Unit = unit; this.TargetUnit = null; mTrackMovement = new TrackMovement(unit); mNormalMovement = new NormalMovement(unit); EnterIdle(); }