Commit 628b04f4 authored by Fardale's avatar Fardale

test

parent 21be2f83
......@@ -239,7 +239,23 @@ class Demineur {
propage(8,x,y)
false
case 9 =>
if(premierCoup){initialise; println("echec"); clique_action(x,y)}
if(premierCoup){initialise; println("echec");
creation_boutons
renewbts
contents = new GridPanel(tx,ty) {
for (i <- 0 to (tx-1)) {
for (j <- 0 to (ty-1)) {
contents += bts(i)(j)
}
}
}
for (i <- 0 to (tx-1)) {
for (j <- 0 to (ty-1)) {
listenTo(bts(i)(j))
listenTo(bts(i)(j).mouse.clicks)
}
}
clique_action(x,y)}
else{
for (i <- 0 to (tailleX-1)) {
for (j <- 0 to (tailleY-1)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment