Class Individu

java.lang.Object
fr.formiko.formiko.Individu
All Implemented Interfaces:
Serializable

public class Individu extends Object implements Serializable
See Also:
  • 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

      protected String 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

      public Espece 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

      public String getStringType()
    • getFoodConso

      public int getFoodConso(int stade)
    • toString

      public String toString()
      Overrides:
      toString in class Object