Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pygame,os
- class Setting(object):
- def __init__(self,image):
- path = os.path.join("images", image)
- self.image = pygame.image.load(path).convert()
- self.rect = self.image.get_rect()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement