Stroke new game and exit

This commit is contained in:
Thibault Blanc Beyne 2018-08-22 17:51:09 +02:00
parent 11be8e4798
commit 93fedd38cc
1 changed files with 2 additions and 0 deletions

View File

@ -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);