Stroke new game and exit
This commit is contained in:
parent
11be8e4798
commit
93fedd38cc
|
@ -39,6 +39,7 @@ class Menu extends Screen {
|
|||
let text = "New Game";
|
||||
let box = this.newGameBox();
|
||||
this.context.fillText(text, box.x, box.y + 30);
|
||||
this.context.strokeText(text, box.x, box.y + 30);
|
||||
|
||||
// this.context.beginPath();
|
||||
// box = this.enlargeBox(box);
|
||||
|
@ -48,6 +49,7 @@ class Menu extends Screen {
|
|||
text = "Exit";
|
||||
box = this.exitBox();
|
||||
this.context.fillText(text, box.x, box.y + 30);
|
||||
this.context.strokeText(text, box.x, box.y + 30);
|
||||
|
||||
// this.context.beginPath();
|
||||
// box = this.enlargeBox(box);
|
||||
|
|
Loading…
Reference in New Issue