aboutsummaryrefslogtreecommitdiff
path: root/src/math/static/help.js
blob: abb602220c6c4ab9f1d9a4a54c995557b2680c62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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)
    ctx.fillText("Some games do not work perfectly. Pardon bugs.", 10, 260)
}
help.mouseDownCallback = function (e) {
    switchState(menu);
}
help.mouseUpCallback = function(e){

}