StatsDisplay extends Display

This commit is contained in:
Yohann D'ANELLO 2020-11-08 23:05:06 +01:00
parent dc3f55cff3
commit 715fad1817
1 changed files with 5 additions and 2 deletions

View File

@ -1,11 +1,14 @@
import curses import curses
from typing import Any
from dungeonbattle.display.display import Display
from dungeonbattle.entities.player import Player from dungeonbattle.entities.player import Player
class StatsDisplay: class StatsDisplay(Display):
def __init__(self, player: Player, height: int, width: int, def __init__(self, screen: Any, player: Player, height: int, width: int,
topleftx: int, toplefty: int): topleftx: int, toplefty: int):
super().__init__(screen)
self.width = width self.width = width
self.height = height self.height = height
self.topleftx = topleftx self.topleftx = topleftx