Esempio n. 1
0
        // Removes old player and bombs from screen
        private void removeOld()
        {
            if (bombs != null)
            {
                foreach (GridElement x in bombs)
                {
                    x.remove(MainGrid);
                }
            }

            if (player != null)
            {
                player.remove(MainGrid);
            }
        }