From 0a24e427bd19953d1f1675ff22ae80bec58f3ac0 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Fri, 29 Dec 2023 15:44:42 +0000 Subject: Move utility consts to the base class --- js/mygame.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'js/mygame.js') diff --git a/js/mygame.js b/js/mygame.js index bd5b498..5b4a2fa 100644 --- a/js/mygame.js +++ b/js/mygame.js @@ -1,7 +1,3 @@ -const floor = Math.floor; -const max = Math.max; -const min = Math.min; - class MyGame extends Game { constructor(canvas) { super(canvas, 320, 240); -- cgit v1.2.3