Fix circulary import
This commit is contained in:
parent
0bd26a1bd0
commit
0de11abfa8
|
@ -3,11 +3,11 @@ from typing import Any
|
|||
|
||||
from .mapdisplay import MapDisplay
|
||||
from .texturepack import TexturePack
|
||||
from ..game import Game
|
||||
|
||||
|
||||
class Display:
|
||||
def __init__(self, game: Game, screen: Any):
|
||||
# game is a game, can't import to avoid circulary includes
|
||||
def __init__(self, game: Any, screen: Any):
|
||||
self.screen = screen
|
||||
self.game = game
|
||||
lines = curses.LINES if screen else 4
|
||||
|
|
Loading…
Reference in New Issue