Update fenrir.py
This commit is contained in:
parent
77c8b27be2
commit
bd21eb797a
@ -34,8 +34,8 @@ class fenrir():
|
|||||||
self.shutdown()
|
self.shutdown()
|
||||||
|
|
||||||
def handleProcess(self):
|
def handleProcess(self):
|
||||||
timeout = self.environment['runtime']['inputManager'].proceedInputEvent(self.environment)
|
eventReceived = self.environment['runtime']['inputManager'].getInputEvent(self.environment)
|
||||||
if not timeout:
|
if eventReceived:
|
||||||
self.prepareCommand()
|
self.prepareCommand()
|
||||||
if not (self.environment['runtime']['inputManager'].isConsumeInput(self.environment) or \
|
if not (self.environment['runtime']['inputManager'].isConsumeInput(self.environment) or \
|
||||||
self.environment['runtime']['inputManager'].isFenrirKeyPressed(self.environment)) and \
|
self.environment['runtime']['inputManager'].isFenrirKeyPressed(self.environment)) and \
|
||||||
|
Loading…
Reference in New Issue
Block a user