Advertisement
bluesplay106

Ice Adventure - setting.py

Dec 6th, 2011
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. import pygame,os
  2.  
  3. class Setting(object):
  4. def __init__(self,image):
  5. path = os.path.join("images", image)
  6. self.image = pygame.image.load(path).convert()
  7. self.rect = self.image.get_rect()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement