trigger command shotdown

This commit is contained in:
chrys
2016-09-17 21:03:03 +02:00
parent dee137f5c6
commit 0729d2daf2
2 changed files with 23 additions and 9 deletions

View File

@ -4,9 +4,9 @@ class command():
def __init__(self):
pass
def initialize(self, environment):
return environment
pass
def shutdown(self, environment):
return environment
pass
def getDescription(self, environment):
environment['generalInformation']['tutorialMode'] = False
return 'You are leving the tutorial mode. Press that shortcut again to enter the tutorial mode again.'
@ -15,6 +15,6 @@ class command():
text = 'you entered the tutorial mode. In that mode the commands are not executed. but you get an description what the shortcut does. to leve the tutorial mode press that shortcut again.'
environment['runtime']['outputManager'].presentText(environment, text, interrupt=True)
environment['generalInformation']['tutorialMode'] = True
return environment
def setCallback(self, callback):
pass