diff --git a/dungeonbattle/display/statsdisplay.py b/dungeonbattle/display/statsdisplay.py index b6f17dc..37d6f91 100644 --- a/dungeonbattle/display/statsdisplay.py +++ b/dungeonbattle/display/statsdisplay.py @@ -1,11 +1,14 @@ import curses +from typing import Any +from dungeonbattle.display.display import Display from dungeonbattle.entities.player import Player -class StatsDisplay: - def __init__(self, player: Player, height: int, width: int, +class StatsDisplay(Display): + def __init__(self, screen: Any, player: Player, height: int, width: int, topleftx: int, toplefty: int): + super().__init__(screen) self.width = width self.height = height self.topleftx = topleftx