|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--objets.TouchesClavier
Cette classe sert a definir les touches claviers pour chaque joueurs.
| Field Summary | |
private int |
action
Touche "Action" La touche action sert pour donner une gifle pour la fille et, en ce qui concerne le garcon, donner un bisou |
private int |
bas
Touche "Bas" |
private int |
droite
Touche "droite" |
private int |
gauche
Touche "gauche" |
private int |
haut
Touche "haut" |
| Constructor Summary | |
TouchesClavier(int g,
int d,
int h,
int b,
int s,
int a)
|
|
| Method Summary | |
int |
getAction()
Renvoie l'identifiant de la touche "action" |
int |
getBas()
Renvoie l'identifiant de la touche "bas" |
int |
getDroite()
Renvoie l'identifiant de la touche "droite" |
int |
getGauche()
Renvoie l'identifiant de la touche "gauche" |
int |
getHaut()
Renvoie l'identifiant de la touche "haut" |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private int gauche
private int droite
private int haut
private int bas
private int action
| Constructor Detail |
public TouchesClavier(int g,
int d,
int h,
int b,
int s,
int a)
g - gauched - droiteb - bash - hauta - action| Method Detail |
public int getGauche()
3 gauchepublic int getDroite()
2 droitepublic int getHaut()
1 hautpublic int getBas()
0 baspublic int getAction()
4 action
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||