Auto bis Tal.

This commit is contained in:
Olli Graf
2022-05-27 19:20:36 +02:00
parent 227271ad09
commit 6ae6f3efd8
5 changed files with 146 additions and 16 deletions

View File

@@ -66,6 +66,8 @@ def verarbeiteBefehl(parsedCommand):
actionmodul.leere(parsedCommand)
elif id == '27':
actionmodul.fuelle(parsedCommand)
elif id == '28':
actionmodul.wirf(parsedCommand)
elif id == '-1':
world.fehler = 'Ich verstehe diesen Befehl nicht'
else:
@@ -120,9 +122,14 @@ def inputLoop(stdscr):
testmodul.testTeich()
elif debugcommand[1] == 'ranke':
testmodul.testRanke()
elif debugcommand[1] == 'tal':
testmodul.testTal()
world.fehler = ''
else:
actionmodul.clearFehler()
parsedCommand = world.parseInput(command)
commandid = parsedCommand.commandid
verarbeiteBefehl(parsedCommand)