From bd3910f9f961b889f1e3c84c5d42ee3b058e8c71 Mon Sep 17 00:00:00 2001 From: Enzo JOLYS Date: Fri, 31 Mar 2023 09:36:19 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Tetris/app/src/mai?= =?UTF-8?q?n/java/modele/TypeShape.kt'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tetris/app/src/main/java/modele/TypeShape.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tetris/app/src/main/java/modele/TypeShape.kt b/Tetris/app/src/main/java/modele/TypeShape.kt index c02cadd..db597d4 100644 --- a/Tetris/app/src/main/java/modele/TypeShape.kt +++ b/Tetris/app/src/main/java/modele/TypeShape.kt @@ -12,7 +12,7 @@ class TypeShape(val type: EnumTypeShape/*,private val showShape: Array { - couleur = 1 // Put the color of the shape + couleur = 1 // Set the color of the shape showShape = Array(4){ IntArray(4 ) { 0 } } // tableau a 2 dimensions a 0 for( i in 0..3){ showShape[0][i] = 1 // Create shape