const COLORSS

This commit is contained in:
Adrien MALINGREY 2023-06-14 02:28:17 +02:00
parent 267bb383fa
commit 18ba62e853

2
app.js
View File

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