c'est fix en fait
This commit is contained in:
parent
015840b07b
commit
f0522b9be3
@ -32,13 +32,16 @@ public class GameView extends View {
|
|||||||
protected void onDraw(Canvas canvas){
|
protected void onDraw(Canvas canvas){
|
||||||
super.onDraw(canvas);
|
super.onDraw(canvas);
|
||||||
this.setBackgroundColor(this.getResources().getColor(R.color.grey));
|
this.setBackgroundColor(this.getResources().getColor(R.color.grey));
|
||||||
LinkedList<Integer> grille = (LinkedList<Integer>) this.grille.getSoumissions();
|
LinkedList<Integer> grille = new LinkedList<Integer>();
|
||||||
System.out.println("test?");
|
grille.addAll(this.grille.getSoumissions());
|
||||||
|
System.out.println(grille);
|
||||||
|
System.out.println(this.grille.getSoumissions());
|
||||||
for (int y=0; y<10;y++) {
|
for (int y=0; y<10;y++) {
|
||||||
for (int x=0;x<4;x++) {
|
for (int x=0;x<4;x++) {
|
||||||
/*this.circle.setColor(grille.pop());
|
this.circle.setColor(grille.pop());
|
||||||
canvas.drawCircle(x*10,y*10, 50, this.circle);
|
//TODO: coordonnées propres
|
||||||
System.out.println("rond grille");*/
|
canvas.drawCircle((x*130+350),(y*130+100), 60, this.circle);
|
||||||
|
System.out.println("rond grille");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user