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