Example #1
0
 public static void DestroyAllObjects(WorldObjectContainer worldObjects)
 {
     for (int y = 0; y < worldObjects.GetHeight(); y++)
     {
         for (int x = 0; x < worldObjects.GetWidth(); x++)
         {
             for (int z = 0; z < worldObjects.GetLength(); z++)
             {
                 DestroyObject(worldObjects, x, z, y);
             }
         }
     }
 }