daily pastebin goal
71%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void Explode()
  2.     {
  3.         ///remove the mines
  4.         for (int y = -1; y <= 1; y++)//Sets the Vertical loop (starting at a Row Above and ending a ROw below)
  5.                     {
  6.                         for (int x = -1; x <= 1; x++) //Sets the Horizontal loop (starting at the column to the left and ending at the column to the right)
  7.                         {
  8.                            
  9.                                 if(numberX + x >= 0 && numberX + x < LevelCreator.gridWidth && numberY + y >= 0 && numberY + y < LevelCreator.gridHeight)
  10.                                 {
  11.                                    
  12.                                 }
  13.                         }
  14.                     }
  15.         ///remove the boulders
  16.         ///remove the grass
  17.         ////calc the numbers in a 5x5 area
  18.        
  19.            
  20.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top