playerstate to prop
This commit is contained in:
6
Game.py
6
Game.py
@@ -13,11 +13,6 @@ class Game:
|
||||
signal.signal(signal.SIGINT, self.interrupt)
|
||||
self.is_running = asyncio.Condition()
|
||||
|
||||
BottomLeftBankSolenoid().trigger()
|
||||
BottomRightBankSolenoid().trigger()
|
||||
TopCentralBankSolenoid().trigger()
|
||||
pass
|
||||
|
||||
def interrupt(self):
|
||||
logging.info('Received SIGINT. Stopping Game :-)')
|
||||
self.is_running.release()
|
||||
@@ -30,4 +25,3 @@ class Game:
|
||||
await self.input_handler.handleInputs()
|
||||
|
||||
await self.is_running.wait()
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user