Make the game start
This commit is contained in:
@ -7,11 +7,14 @@ class Display:
|
||||
def __init__(self, game, screen):
|
||||
self.screen = screen
|
||||
self.game = game
|
||||
self.mapDisplay = MapDisplay(game.m,
|
||||
TexturePack.get_pack(
|
||||
self.map_display = MapDisplay(game.m,
|
||||
TexturePack.get_pack(
|
||||
game.settings.TEXTURE_PACK),
|
||||
curses.LINES,
|
||||
curses.COLS * 4 // 5)
|
||||
curses.LINES,
|
||||
curses.COLS * 4 // 5)
|
||||
|
||||
def refresh(self):
|
||||
self.mapDisplay.refresh()
|
||||
self.map_display.update_pad()
|
||||
|
||||
def display(self, y, x):
|
||||
self.map_display.display(y, x)
|
||||
|
Reference in New Issue
Block a user