Commit 7a51253a authored by Fardale's avatar Fardale

prout

parent 9d603e88
......@@ -2,16 +2,16 @@ import scala.util.Random
import Array._
import java.awt.Color
class Unruly {
class Unruly{
// Cotés du terrain
private var tailleX = 8
private var tailleY = 8
protected var tailleX = 8
protected var tailleY = 8
def getTailleX = tailleX
def getTailleY = tailleY
// Matrice des boutons.
var boutons = ofDim[MonBouton](tailleX,tailleY)
protected var boutons = ofDim[MonBouton](tailleX,tailleY)
def getBoutons(x: Int, y: Int) = boutons(x)(y)
......
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