Exemple #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)
Exemple #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)
Exemple #3
0
 def get_name(self):
     return img_cfg.get('bars').get('metal-bar')
Exemple #4
0
 def get_name(self):
     return img_cfg.get('bars').get('earth-bar')
Exemple #5
0
 def get_name(self):
     return img_cfg.get('bars').get('basic')
Exemple #6
0
 def get_tile_name(self):
     return img_cfg.get('tiles').get('metal-tile-3')
Exemple #7
0
 def get_tile_name(self):
     return img_cfg.get('tiles').get('earth-tile-2')
Exemple #8
0
 def get_tile_name(self):
     return img_cfg.get('tiles').get('basic-strong')