summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/img/palette.gifbin0 -> 3260 bytes
-rw-r--r--public/js/game.js4
2 files changed, 3 insertions, 1 deletions
diff --git a/public/img/palette.gif b/public/img/palette.gif
new file mode 100644
index 0000000..da04445
--- /dev/null
+++ b/public/img/palette.gif
Binary files differ
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(){