StatsDisplay extends Display
This commit is contained in:
parent
dc3f55cff3
commit
715fad1817
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue