Package fr.formiko.formiko
Class Joueur
java.lang.Object
fr.formiko.formiko.Joueur
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean[][]
private boolean[][]
private Fourmiliere
private GMessage
private static int
private boolean
private final int
private boolean
private static String[]
private static Joueur
private String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
static String
boolean
getCaseNuageuse
(int x, int y) boolean
getCaseSombre
(int x, int y) getFere()
getGm()
static int
getI()
boolean
getIa()
int
getId()
boolean
static Joueur
int
getScore()
static void
ini()
void
boolean
isAI()
boolean
isCaseNuageuse
(CCase cc) boolean
isCaseSombre
(CCase cc) boolean
isIa()
void
jouer()
void
void
void
setCaseNuageuse
(int x, int y, boolean b) void
setCaseSombre
(int x, int y, boolean b) void
setFourmiliere
(Fourmiliere nouvelleFourmiliere) void
setIa
(boolean b) void
setIsTurnEnded
(boolean b) Setter that notify playing ant in case it was waiting for an action to be choose.void
Set Pheromone for all the Ants of the player.static void
void
toString()
void
-
Field Details
-
i
private static int i -
id
private final int id -
fere
-
pseudo
-
ia
private boolean ia -
list
-
gm
-
caseNuageuse
private boolean[][] caseNuageuse -
caseSombre
private boolean[][] caseSombre -
isTurnEnded
private boolean isTurnEnded -
playingJoueur
-
-
Constructor Details
-
Joueur
-
Joueur
-
Joueur
-
-
Method Details
-
getId
public int getId() -
getI
public static int getI() -
getPseudo
-
setPseudo
-
getFourmiliere
-
getFere
-
setFourmiliere
-
getIa
public boolean getIa() -
isIa
public boolean isIa() -
isAI
public boolean isAI() -
setIa
public void setIa(boolean b) -
addMessage
-
getGm
-
getCaseSombre
public boolean getCaseSombre(int x, int y) -
setCaseSombre
public void setCaseSombre(int x, int y, boolean b) -
isCaseSombre
-
getCaseNuageuse
public boolean getCaseNuageuse(int x, int y) -
setCaseNuageuse
public void setCaseNuageuse(int x, int y, boolean b) -
isCaseNuageuse
-
setPheromone
Set Pheromone for all the Ants of the player. -
getScore
public int getScore() -
ini
public static void ini() -
getIsTurnEnded
public boolean getIsTurnEnded() -
setIsTurnEnded
public void setIsTurnEnded(boolean b) Setter that notify playing ant in case it was waiting for an action to be choose. -
getPlayingJoueur
-
setPlayingJoueur
-
getEspece
-
toString
-
get1Pseudo
-
changerDePeudo
public void changerDePeudo() -
jouer
public void jouer() -
afficheScore
public void afficheScore() -
initialisationCaseNS
public void initialisationCaseNS() -
updateCaseSN
public void updateCaseSN() -
affichecaseSN
public void affichecaseSN() -
prendreEnCompteLaDifficulté
public void prendreEnCompteLaDifficulté() -
scoreToString
-
setAction0AndEndTurn
public void setAction0AndEndTurn()
-