[refactor] Breaking out key codes

Trying to start breaking apart the large circular dependencies between
modules. Most of the dependencies are similar to this pattern where
there is one stand-alone member that is needed, so the entire module
gets brought along with.
This commit is contained in:
Steven Evans
2018-07-18 12:50:31 -04:00
parent 1412b01be5
commit 0bea4e0430
4 changed files with 35 additions and 31 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import {Faction, Factions, factionExists,
import {Locations} from "./Location";
import {Player} from "./Player";
import {hackWorldDaemon, redPillFlag} from "./RedPill";
import {KEY} from "./Terminal";
import {KEY} from "../utils/helpers/keyCodes";
import {createProgressBarText} from "../utils/helpers/createProgressBarText";
import {dialogBoxCreate} from "../utils/DialogBox";