Ejemplo n.º 1
0
 public void removeAircraft(Aircraft a)
 {
     this.aircrafts.Remove(a);
 }
Ejemplo n.º 2
0
 public void addAircraft(Aircraft a)
 {
     this.aircrafts.Add(a);
 }
Ejemplo n.º 3
0
 public void Update(Aircraft a)
 {
     OceanVerts[0].Position = new Vector3(-MAP_WIDTH + a.Position.X, 0, -MAP_WIDTH + a.Position.Z);
     OceanVerts[1].Position = new Vector3(MAP_WIDTH + a.Position.X, 0, -MAP_WIDTH + a.Position.Z);
     OceanVerts[2].Position = new Vector3(-MAP_WIDTH + a.Position.X, 0, MAP_WIDTH + a.Position.Z);
     OceanVerts[3].Position = OceanVerts[2].Position;
     OceanVerts[4].Position = OceanVerts[1].Position;
     OceanVerts[5].Position = new Vector3(MAP_WIDTH + a.Position.X, 0, MAP_WIDTH + a.Position.Z);
 }