示例#1
0
 def load_bitmap(self, path):
     self.bitmap = resman.get_bitmap(path)
示例#2
0
 def load_spritesheet(self, path, sprite_width, sprite_height):
     b = resman.get_bitmap(path)
     self.spritesheet = Spritesheet(b, sprite_width, sprite_height)