Package fr.formiko.formiko
Class Individu
java.lang.Object
fr.formiko.formiko.Individu
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected byte
protected String
protected int
protected int
protected byte
protected byte
protected boolean
protected boolean
protected int
protected byte
protected byte[]
protected int[]
protected int[]
protected byte
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte
byte
byte
byte
int
getFoodConso
(int stade) int
byte
int
int
getMaxAge
(int i) int
int
getMaxFood
(int i) byte
byte
int
getSize()
byte
getType()
toString()
-
Field Details
-
idSpecies
protected int idSpecies -
type
protected byte type -
sexual
protected boolean sexual -
sexe
protected boolean sexe -
cleaning
protected byte cleaning -
maxAction
protected byte maxAction -
size
protected int size -
color
-
maxMassMovable
protected byte maxMassMovable -
sleepTime
protected byte sleepTime -
foodConsume
protected int foodConsume -
tMaxAge
protected int[] tMaxAge -
tMaxFood
protected int[] tMaxFood -
tActionCost
protected byte[] tActionCost
-
-
Constructor Details
-
Individu
public Individu(int idSpecies, byte ty, boolean se, boolean se2, byte né, byte ac, int ta, String co, byte po, byte te, int tag0, int tag1, int tag2, int tag3, int nm0, int nm1, int nm2, int nm3, byte ca0, byte ca1, byte ca2, byte ca3, byte ca4, byte ca5, int nc)
-
-
Method Details
-
getEspece
-
getIdSpecies
public int getIdSpecies() -
getType
public byte getType() -
getMaxAction
public byte getMaxAction() -
getSize
public int getSize() -
getMaxAge
public int getMaxAge(int i) -
getMaxAge
public int getMaxAge() -
getMaxFood
public int getMaxFood(int i) -
getMaxFood
public int getMaxFood() -
getMovingCost
public byte getMovingCost() -
getCoutChasse
public byte getCoutChasse() -
getCoutPondre
public byte getCoutPondre() -
getCoutNétoyer
public byte getCoutNétoyer() -
getCoutTrophallaxie
public byte getCoutTrophallaxie() -
getNétoyage
public byte getNétoyage() -
getStringType
-
getFoodConso
public int getFoodConso(int stade) -
toString
-