예제 #1
0
 public virtual void OnLevelComplete()
 {
     duration = DateTime.Now - start;
     for (int x = 0; x < tiles.Length; x++)
     {
         for (int y = 0; y < tiles[x].Length; y++)
         {
             if (tiles[x][y][0].CurrentState == -1)
             {
                 Entity.Mine m = new Entity.Mine(tiles[x][y][0].Position, new Vector3(16, 16, 0));
                 Entity.EntityManager.AddMine(tiles[x][y][0].Position, tiles[x][y][0].Size);
             }
         }
     }
 }
예제 #2
0
 public virtual void OnLevelComplete()
 {
     duration = DateTime.Now - start;
     for (int x = 0; x < tiles.Length; x++)
     {
         for (int y = 0; y < tiles[x].Length; y++)
         {
             if (tiles[x][y][0].CurrentState == -1)
             {
                 Entity.Mine m = new Entity.Mine(tiles[x][y][0].Position, new Vector3(16, 16, 0));
                 Entity.EntityManager.AddMine(tiles[x][y][0].Position, tiles[x][y][0].Size);
             }
         }
     }
 }