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