add some command handling

This commit is contained in:
chrys
2016-07-08 18:33:32 +02:00
parent fb63606bfb
commit 7a737c7797
8 changed files with 67 additions and 12 deletions

View File

@ -4,7 +4,10 @@ class command():
def __init__(self):
pass
def run(self, environment):
pass
print('fire')
#print(environment['screenData']['newContentText'])i
print(environment['screenData']['newCursor']['x'])
environment['runtime']['speechDriver'].speak(environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursor']['x']-1])
def setCallback(self, callback):
pass
def shutdown(self):