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