Constructor and Description |
---|
VueControle(ControlerJeu c)
Constructeur de VueCOntrole :
|
Modifier and Type | Method and Description |
---|---|
Match |
addMatch()
Demande au controleur de lancer un nouveau match
|
Match |
addMatch(int nbrEquipes,
int nbrJoueurs,
java.lang.String[] noms,
int[] colors)
Demande au controleur de lancer un nouveau match
|
static VueControle |
getInstance(ControlerJeu c)
Singleton
|
_Model |
getJeu()
Retourne le Model utilisé par la vue
|
void |
initLogos()
Initialiser les logos de la vue
|
void |
removeMatch(Match m)
Demande au controleur d'arrêter un match M
|
void |
repaint()
Rafraichi l'affichage de la vue
|
void |
update()
Instructions à appler lors de la notification.
|
public VueControle(ControlerJeu c)
c
- ControlerJeupublic void repaint()
_Vue
public _Model getJeu()
_Vue
public void initLogos()
_Vue
public Match addMatch()
public void removeMatch(Match m)
m
- Matchpublic static VueControle getInstance(ControlerJeu c)
c
- ControlerJeupublic Match addMatch(int nbrEquipes, int nbrJoueurs, java.lang.String[] noms, int[] colors)
nbrEquipes
- nbrJoueurs
- noms
- colors
-