Advertisement
Guest User

Untitled

a guest
Dec 1st, 2015
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. class init():
  2. def __init__(self, width=0, height=0, fg="white" , bg="black"):
  3. self.units = {"width": width, "height": height}
  4. self.colors = {"fg": fg, "bg": bg}
  5.  
  6. self.board = [["." for i in range(self.units["width"])]
  7. for j in range(self.units["height"])]
  8. self.graphics = []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement