try command structure, fix tutorial mode command
This commit is contained in:
@ -12,9 +12,9 @@ class command():
|
||||
return 'You are leving the tutorial mode. Press that shortcut again to enter the tutorial mode again.'
|
||||
|
||||
def run(self, environment):
|
||||
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
|
||||
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
|
||||
|
Reference in New Issue
Block a user