示例#1
0
 def __init__(self, lvl=2):
     sparkle_name = img_cfg.get('background').get('sparkle-basic')
     width = size_cfg.get('background').get('sparkle-basic').get('x')
     height = size_cfg.get('background').get('sparkle-basic').get('y')
     BackgroundObject.__init__(self,
                               sparkle_name,
                               width,
                               height,
                               lvl,
                               colorkey=-1)
示例#2
0
 def __init__(self, lvl=2):
     life_icon_name = img_cfg.get('background').get('life-icon-2')
     width = size_cfg.get('background').get('life-icon-2').get('x')
     height = size_cfg.get('background').get('life-icon-2').get('y')
     BackgroundObject.__init__(self,
                               life_icon_name,
                               width,
                               height,
                               lvl,
                               moving=False,
                               colorkey=-1)
示例#3
0
 def get_name(self):
     return img_cfg.get('bars').get('metal-bar')
示例#4
0
 def get_name(self):
     return img_cfg.get('bars').get('earth-bar')
示例#5
0
 def get_name(self):
     return img_cfg.get('bars').get('basic')
示例#6
0
 def get_tile_name(self):
     return img_cfg.get('tiles').get('metal-tile-3')
示例#7
0
 def get_tile_name(self):
     return img_cfg.get('tiles').get('earth-tile-2')
示例#8
0
 def get_tile_name(self):
     return img_cfg.get('tiles').get('basic-strong')