fix creating Player object
parent
a89e41cd68
commit
bf638e711e
2
main.py
2
main.py
|
@ -10,7 +10,7 @@ class Game:
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
self.running = True
|
self.running = True
|
||||||
self.is_pause = False
|
self.is_pause = False
|
||||||
self.pl = Player(self)
|
self.pl = Player()
|
||||||
self.out = Out(self.pl)
|
self.out = Out(self.pl)
|
||||||
|
|
||||||
kb.add_hotkey(QUIT_BUTTON, self.stop_game)
|
kb.add_hotkey(QUIT_BUTTON, self.stop_game)
|
||||||
|
|
Loading…
Reference in New Issue