auto: bis Keller

This commit is contained in:
Olli Graf
2022-05-13 07:51:28 +02:00
parent 3b29f77d57
commit 9230a418ae
3 changed files with 31 additions and 1 deletions

View File

@@ -160,11 +160,14 @@ class World:
def parseInput(self,input):
logging.debug(f'parseInput() {input}')
words = input.split(' ')
parsedCommand = ParsedCommand.ParsedCommand()
words = self.removeSortouts(words,parsedCommand)
befehlid = self.ermittleBefehlId(words[0])
logging.debug(f'parseInput() befehlid {befehlid}')
if befehlid != None:
befehl = self.befehle[befehlid]
parsedCommand.commandid = befehl.id