added "u" and "d" to the case thing

This commit is contained in:
vleevalerio
2019-05-22 09:51:58 -04:00
parent 19f1a5b941
commit ad302760eb

View File

@@ -159,7 +159,7 @@ class Game {
} }
String commandWord = command.getCommandWord(); String commandWord = command.getCommandWord();
switch(commandWord) { switch(commandWord) {
case "go": case "n": case "s": case "e": case "w": case "north": case "south": case "west": case "east": case "up": case "down": case "go": case "n": case "s": case "e": case "w": case "north": case "south": case "west": case "east": case "up": case "down": case "d": case "u":
goRoom(command); goRoom(command);
break; break;
case "help": case "help":