Réorganisation du dossier
This commit is contained in:
@@ -24,7 +24,7 @@ public class VueGrille extends View {
|
||||
|
||||
// Données nécessaires au dessin
|
||||
|
||||
private int[][] grille = new int[NB_LIGNES][NB_COLONNES];
|
||||
private int[][] grille = new int[NB_LIGNES][NB_COLONNES];
|
||||
private boolean[][] verrous = new boolean[NB_LIGNES][NB_COLONNES];
|
||||
|
||||
private Boolean animEstLigne = null;
|
||||
@@ -205,8 +205,7 @@ public class VueGrille extends View {
|
||||
canvas.drawRoundRect(x1, y1, x2, y2, 20, 20, pinceauCase);
|
||||
|
||||
if (animEstLigne != null) {
|
||||
if ((animEstLigne && ligne == animIndex)
|
||||
|| (!animEstLigne && colonne == animIndex)) {
|
||||
if ((animEstLigne && ligne == animIndex) || (!animEstLigne && colonne == animIndex)) {
|
||||
canvas.drawRoundRect(x1, y1, x2, y2, 20, 20, pinceauSelection);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user