Advertisement
LegitBrainless

Untitled

Mar 19th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. #pop up classes
  2. class boss(object):
  3. def __init__(self, x, y, width, height):
  4. self.x = x
  5. self.y = y
  6. self.width = width
  7. self.height = height
  8.  
  9. def draw(self, win):
  10. if article1.x > 1900 and article1.x < 2600 or viga == 0:
  11. win.blit(dio, (self.x,self.y))
  12.  
  13. class talk(object):
  14. def __init__(self, x, y, width, height):
  15. self.x = x
  16. self.y = y
  17. self.width = width
  18. self.height = height
  19.  
  20. def draw(self, win):
  21. if article1.x > 1900 and article1.x < 2600 or viga == 0:
  22. win.blit(tb, (self.x,self.y))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement