From 18ba62e853dce36d96639d798cf67dedd6c9f315 Mon Sep 17 00:00:00 2001 From: adrien Date: Wed, 14 Jun 2023 02:28:17 +0200 Subject: [PATCH] const COLORSS --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 1393c6b..e9c1f9c 100644 --- a/app.js +++ b/app.js @@ -469,7 +469,7 @@ Z.prototype.minoesPosition = [ [P(0, 1), P(-1, 0), P(0, 0), P(-1, -1)] ] Z.prototype.material = new MinoMaterial(COLORS.Z) -Z.prototype.ghostMaterial = new GhostMaterial() +Z.prototype.ghostMaterial = new GhostMaterial(COLORS.Z) class Ghost extends Tetromino { copy(piece) {