basic display wrapper
This commit is contained in:
11
dungeonbattle/display/display.py
Normal file
11
dungeonbattle/display/display.py
Normal file
@ -0,0 +1,11 @@
|
||||
import curses
|
||||
from .mapdisplay import MapDisplay
|
||||
|
||||
class Display:
|
||||
def __init__(self, game, screen):
|
||||
self.screen = screen
|
||||
self.game = game
|
||||
self.mapDisplay = MapDisplay(game.m, curses.LINES, curses.COLS * 4/5)
|
||||
|
||||
def refresh(self):
|
||||
self.mapDisplay.refresh()
|
Reference in New Issue
Block a user