Exemplo n.º 1
0
class HealthBarNode(SceneNode):
    def __init__(self, actorID, renderComponent, rect, value, minValue, maxValue, **params):
        super().__init__(actorID, renderComponent)
        self.UI = HealthBar(rect, value, minValue, maxValue, **params)
    
    def render(self):
        self.UI.render()
        
            
Exemplo n.º 2
0
 def __init__(self, actorID, renderComponent, rect, value, minValue, maxValue, **params):
     super().__init__(actorID, renderComponent)
     self.UI = HealthBar(rect, value, minValue, maxValue, **params)