Uses of Class
fr.formiko.formiko.Creature
Package
Description
-
Uses of Creature in fr.formiko.formiko
Modifier and TypeMethodDescriptionGCreature.getBroodSale()
GCreature.getBroodSaleE()
GCreature.getCreatureById
(int id) return the Creature that have this id.static Creature
triche.getCreatureById
(String id) private Creature
GCreature.getCreatureByIdE
(int id) return the Creature that have this id.Fourmiliere.getReine()
Modifier and TypeMethodDescriptionboolean
Graine.canBeOpenBy
(Creature c) Return true if it can be open by given Creature.GCreature.filterAlliés
(Creature c) return the Creatures that are ally with c.private GCreature
GCreature.filterAlliés
(Creature cTested, int differenceTolerated) Return the Creatures that are ally with c.int
Creature.friendlyLevel
(Creature c) Return a friendly level. Higer is more frienly.boolean
Creature.getEstAllié
(Creature c) Is this consider as an ally of c ?boolean
Creature.getEstEnnemi
(Creature c) Is this consider as an enemy of c ?boolean
Creature.getIsNeutral
(Creature c) Is this consider as neutral for c ?static void
Message.messageMort
(Fourmi f, int raison, Creature cr) void
void
Creature.trophallaxie
(Creature c, int foodDonnée) void
MapPath.updateMovingCaseByTurn
(Creature c) -
Uses of Creature in fr.formiko.formiko.images
Modifier and TypeMethodDescriptionstatic BufferedImage
FImageTree.createAntImageFromNode
(Creature c, fr.formiko.usual.structures.TreeNode<BufferedImage> node, int antColorLevel) Create an ant Image from the coresponding node, with the Creature color.FImageTree.getCreatureImage
(Creature c, int antColorLevel) Return the Image that fit to a Creature. -
Uses of Creature in fr.formiko.formiko.interfaces
Modifier and TypeFieldDescriptionprivate final Creature
ChasseGranivore.c
(package private) Creature
ChasseHerbivore.c
private Creature
ChasseInsectivore.c
private Creature
DeplacementFourmi.c
Modifier and TypeMethodDescriptionTourFourmi.aNetoyer()
Search the ant that need the more to be clean.TourFourmi.aNourrir()
Search the ant that need the more food.Modifier and TypeMethodDescriptiondefault boolean
Chasse.canHuntMore
(Creature c) check if can hunt.boolean
ChasseGranivore.canHuntMore
(Creature c) Check if can hunt.boolean
ChasseNull.canHuntMore
(Creature c) If lauch print an error.boolean
boolean
It can never lay.boolean
Return true if can lay an egg.boolean
boolean
actions during hunt.boolean
Hunt as an herbivore.boolean
actions during hunt.boolean
If lauch print an error.boolean
boolean
collect seeds.boolean
boolean
try to hunt or moove.boolean
If lauch print an error.default void
end a turn.void
End 1 turn with Creature c.void
End a turn.void
End a turn as an Ant.void
void
End a turn as an Insecte.void
If lauch print an error.private void
Print the error.void
void
ant grow up.void
If lauch print an error.int[]
Trophallaxie.getCreatureQuiOnFaim
(int[] t, Creature c) int[]
TrophallaxieFourmi.getCreatureQuiOnFaim
(int[] t, Creature net) find hungry ant.int[]
TrophallaxieNull.getCreatureQuiOnFaim
(int[] t, Creature c) If lauch print an error.int
Netoyer.getNombreDeCreatureANetoyer
(Creature c) int
NetoyerFourmi.getNombreDeCreatureANetoyer
(Creature c) get number of non-100% clean ant.int
NetoyerNull.getNombreDeCreatureANetoyer
(Creature c) If lauch print an error.boolean
Chasse.havePreyOnSameSquare
(Creature c) Return true if there is prey on same square.boolean
ChasseGranivore.havePreyOnSameSquare
(Creature c) Return true if there is prey on same square.boolean
ChasseHerbivore.havePreyOnSameSquare
(Creature c) Return true if there is prey on same square.boolean
ChasseInsectivore.havePreyOnSameSquare
(Creature c) Return true if there is prey on same square.boolean
ChasseNull.havePreyOnSameSquare
(Creature c) Return true if there is prey on same square.void
Died.void
Kill an ant an print a message.void
Died without beeing eated.void
If lauch print an error.void
void
void
A non-AI ant want to clean.void
An ant clean a Creature.void
If lauch print an error.void
If lauch print an error.boolean
boolean
An AI ant want to clean.boolean
If lauch print an error.void
Deplacement.plusieurMouvement
(Creature c, CCase p) void
DeplacementFourmi.plusieurMouvement
(Creature c, CCase cc) make as much moove as we can/need to a defined Case.void
DeplacementNull.plusieurMouvement
(Creature c, CCase cc) If lauch print an error.void
void
void
If lauch print an error.default void
Chasse.setActionMoins
(Creature c) Lower creature actions count.void
void
void
Mourir.supprimerDeLaCarte
(Creature c) Delete on the map.void
MourirFourmi.supprimerDeLaCarte
(Creature c) Delete the ant from the map.void
MourirInsecte.supprimerDeLaCarte
(Creature c) Delet an Insect from the map.void
MourirNull.supprimerDeLaCarte
(Creature c) If lauch print an error.void
Do turn actions :
manger, grandir (age).
if Evoluer != null and age >=maxAge
if fourmi : salirvoid
Trophallaxie.trophallaxer
(Creature c) void
TrophallaxieFourmi.trophallaxer
(Creature c) player trophallaxisvoid
TrophallaxieNull.trophallaxer
(Creature c) If lauch print an error.void
Trophallaxie.trophallaxie
(Creature c, int id, int foodDonnée) void
Trophallaxie.trophallaxie
(Creature c1, Creature c2, int foodDonnée) void
TrophallaxieFourmi.trophallaxie
(Creature c, int id, int foodDonnée) do a trophallaxis to an idvoid
TrophallaxieFourmi.trophallaxie
(Creature c, Creature c2, int foodDonnée) make a trophallaxis.void
TrophallaxieNull.trophallaxie
(Creature c, int id, int x) If lauch print an error.void
TrophallaxieNull.trophallaxie
(Creature c, Creature c2, int x) If lauch print an error.void
void
If lauch print an error.void
Lay an egg with Creature cvoid
Deplacement.unMouvement
(Creature c, boolean bIa) void
Deplacement.unMouvement
(Creature c, int direction) void
Deplacement.unMouvement
(Creature c, Case p) void
Deplacement.unMouvement
(Creature c, CCase p) void
DeplacementFourmi.unMouvement
(Creature c, boolean bIa) make a move.void
DeplacementFourmi.unMouvement
(Creature c, int direction) make a moove in a defined direction.void
DeplacementFourmi.unMouvement
(Creature c, Case p) make a move to a defined Case.void
DeplacementFourmi.unMouvement
(Creature c, CCase cc) make a move to a defined Case.void
DeplacementNull.unMouvement
(Creature c, boolean bIa) If lauch print an error.void
DeplacementNull.unMouvement
(Creature c, int direction) If lauch print an error.void
DeplacementNull.unMouvement
(Creature c, Case p) If lauch print an error.void
DeplacementNull.unMouvement
(Creature c, CCase p) If lauch print an error.void
play a turn.void
PLay 1 turn with Creature c.void
PLay 1 turn with Creature c.void
PLay 1 turn with Creature f.void
PLay 1 turn with Creature c.void
If lauch print an error. -
Uses of Creature in fr.formiko.views
Modifier and TypeMethodDescriptionprivate String
ViewCLI.getAllyAntInColor
(Creature c) Return the color depending of the status of c for playingAnt. -
Uses of Creature in fr.formiko.views.cli
Modifier and TypeMethodDescriptionprivate static String
CLIMap.getColorAllyStatus
(Creature c) Return a color String to represent the ally status of Creature c with the playingAnt. -
Uses of Creature in fr.formiko.views.gui2d
Modifier and TypeFieldDescriptionprivate Creature
FPanelInfoCreature.FPanelInfoCreatureBuilder.c
private Creature
FPanelInfoGCreature.FPanelInfoGCreatureBuilder.c
Modifier and TypeFieldDescriptionprivate static Comparator<Creature>
FPanelCarte.imageSizeComparator
Modifier and TypeMethodDescriptionstatic fr.formiko.usual.structures.listes.Liste<Creature>
FPanelCarte.gcSortedByImageSize
(GCreature gc) Return a Liste<Creature> sorted by image size.Modifier and TypeMethodDescriptionFPanelInfoCreature.FPanelInfoCreatureBuilder.addCreature
(Creature c) Standard Builder for this.FPanelInfoGCreature.FPanelInfoGCreatureBuilder.addCreaturesOnSameCase
(Creature c) Standard Builder for this.Data.getCreatureImage
(Creature c) Return the Image that fit to a Creature.static int
Return an icon id.static BufferedImage
FPanelCarte.getIconImage
(Creature cr, Fourmi fi) Return an icon image.fr.formiko.usual.structures.listes.Liste<BufferedImage>
FPanelCarte.getStatesIconsImages
(Creature cr) Return the states icons images.static boolean
FPanelCarte.needToDraw
(Creature cr) Return true if we need to draw Creature depending of the Options.