Add command enable/disable

This commit is contained in:
2021-11-04 22:19:50 +01:00
parent a745ff299e
commit a968f89bb3
4 changed files with 36 additions and 3 deletions

View File

@@ -89,4 +89,8 @@ export default class Game {
this.visitedRooms.set(roomID, true);
}
}
enableCommandInput(value) {
this.commandHandler.enabled = value;
}
}