public Platoon(Formation formation, int index) { this.Formation = formation; this.Index = index; }
public static Vector3 LeaderPosition(this Formation fm) { return(fm.Point[fm.LeaderIndex]); }
public static Vector3 RelativePosition(this Formation fm, int index) { return(fm.Point[index]); }
private void AddPlatoon(Formation formation, int platoonsCount) { _platoons.Add(new Platoon(formation, platoonsCount)); }