summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js')
-rw-r--r--public/js/game.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/public/js/game.js b/public/js/game.js
index 8fa19e1..e388706 100644
--- a/public/js/game.js
+++ b/public/js/game.js
@@ -87,7 +87,9 @@ var Events = {
};
-
+// Explicit changes to the UI when moving from one state to another.
+// This is for things like moving divs off the screen, changing bindings, etc.
+// Anything a load method does should be undone by the unload method.. for now.
var UI = {};
UI[ State.WAITING ] = {
load: function(){