diff options
Diffstat (limited to 'src/math/static/help.js')
-rw-r--r-- | src/math/static/help.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/math/static/help.js b/src/math/static/help.js new file mode 100644 index 0000000..2dfab9f --- /dev/null +++ b/src/math/static/help.js @@ -0,0 +1,21 @@ +var help = { + +}; +help.updateCallback = function(){ + // nothing +} +help.drawCallback = function(){ + ctx.fillStyle = "#99b3ff"; + ctx.fillRect(0, 0, width, height); + + font(26) + ctx.fillStyle = "black" + ctx.fillText("Click on a game to play.", 10, 200) + ctx.fillText("After finishing your game, click to return.", 10, 230) +} +help.mouseDownCallback = function (e) { + switchState(menu); +} +help.mouseUpCallback = function(e){ + +}
\ No newline at end of file |