def __init__(self, pokemon): """ Builds the Player's Pokemon Detail View """ self.pokemon = pokemon self.healthBar = HealthBarView(pokemon.original)
def draw(self): """ Returns the health bar as a console line """ self.healthBar = HealthBarView(self.pokemon.original) return self.getEntryLines()