public class FencingPiste
extends java.lang.Object
| Constructor and Description |
|---|
FencingPiste(int i)
Le constructeur cree la piste avec sa connexion a l'interface graphique
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMatch(MatchInterface match)
Aassocie un match a la piste.
|
void |
clear()
Retire tous les matchs associes a la piste.
|
void |
close()
Cloture la piste et ferme proprement l'interface graphique correspondante.
|
boolean |
isOver() |
void |
memorizeWinner(java.lang.String matchWinner) |
void |
next()
Cette methode est essentiellement appelee par la machine pour recuperer les matchs suivants.
|
void |
start()
Declenche la piste qui lance le premier match enregistre sur la piste.
|
java.lang.String |
toString() |
public FencingPiste(int i)
i - : numero de la pistepublic void addMatch(MatchInterface match)
match - : match a ajouter a la pistepublic void clear()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isOver()
public void start()
public void memorizeWinner(java.lang.String matchWinner)
public void next()
public void close()