Wip: Working on room movements, player location in room, and data storage
This commit is contained in:
@@ -61,11 +61,15 @@ int CommandParser::Parse() {
|
||||
nouns = Noun(c);
|
||||
|
||||
for (const auto &verb: verbs) {
|
||||
|
||||
if (!commands[verb]) {
|
||||
CommandUnrecognized();
|
||||
break;
|
||||
}
|
||||
|
||||
for (const auto &n: nouns) {
|
||||
noun = n;
|
||||
}
|
||||
|
||||
toRun = commands[verb];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user