SHARE
TWEET

Untitled

a guest May 24th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cell_val = ref_grid[ y ][ x ]
  2.  
  3.             if cell_val == 0:
  4.                 my_color = r_color
  5.             if cell_val == 1:
  6.                 my_color = s_color
  7.             if cell_val == 2:
  8.                 my_color = i_color
  9.             if cell_val == 3:
  10.                 my_color = w_color
  11.  
  12.             pygame.draw.rect( my_screen , my_col , ( g_x + b_width * x , g_y + b_height * y , b_width , b_height ) , 0 )
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