Sorceress

Untitled

May 7th, 2016
186
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. xmin=gridMax;
  2. ymin=gridMax;
  3. for( x = 0; x < gridMax; x++ ){
  4. for( y = 0; y < gridMax; y++ ){
  5. if(grid[x,y].RoomHere == yes) {
  6. if(x<xmin) xmin=x;
  7. if(y<ymin) ymin=y;
  8. }
  9. }
  10. }
RAW Paste Data