12 lines
312 B
Python
Raw Normal View History

2020-11-06 15:34:24 +01:00
import curses
from .mapdisplay import MapDisplay
class Display:
def __init__(self, game, screen):
self.screen = screen
self.game = game
2020-11-06 16:10:46 +01:00
self.mapDisplay = MapDisplay(game.m, game.settings, curses.LINES, curses.COLS * 4/5)
2020-11-06 15:34:24 +01:00
def refresh(self):
2020-11-06 16:10:46 +01:00
self.mapDisplay.refresh()