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 text = "New Game";
|
||||||
let box = this.newGameBox();
|
let box = this.newGameBox();
|
||||||
this.context.fillText(text, box.x, box.y + 30);
|
this.context.fillText(text, box.x, box.y + 30);
|
||||||
|
this.context.strokeText(text, box.x, box.y + 30);
|
||||||
|
|
||||||
// this.context.beginPath();
|
// this.context.beginPath();
|
||||||
// box = this.enlargeBox(box);
|
// box = this.enlargeBox(box);
|
||||||
|
@ -48,6 +49,7 @@ class Menu extends Screen {
|
||||||
text = "Exit";
|
text = "Exit";
|
||||||
box = this.exitBox();
|
box = this.exitBox();
|
||||||
this.context.fillText(text, box.x, box.y + 30);
|
this.context.fillText(text, box.x, box.y + 30);
|
||||||
|
this.context.strokeText(text, box.x, box.y + 30);
|
||||||
|
|
||||||
// this.context.beginPath();
|
// this.context.beginPath();
|
||||||
// box = this.enlargeBox(box);
|
// box = this.enlargeBox(box);
|
||||||
|
|
Loading…
Reference in New Issue