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