Uses of Class
fr.formiko.formiko.Case
Package
Description
-
Uses of Case in fr.formiko.formiko
Modifier and TypeMethodDescriptionfr.formiko.usual.structures.listes.Liste<Case>
GCase.getCasesBetween
(int x1, int y1, int x2, int y2) Give all Case in a rectangle as a list.fr.formiko.usual.structures.listes.Liste<Case>
GCase.getCasesBetween
(CCase center, int radius) Give all Case in a rectangle as a list.fr.formiko.usual.structures.listes.Liste<Case>
GCase.getCasesBetween
(CCase from, CCase to) Give all Case in a rectangle as a list.fr.formiko.usual.structures.listes.Liste<Case>
CCase.getGca
(int radius) Modifier and TypeMethodDescriptionvoid
Creature.ceDeplacer
(Case ca) int
CCase.getDirection
(Case to) return a direction by using this & a Case to reach.void
CCase.setContenu
(Case c) -
Uses of Case in fr.formiko.formiko.interfaces
Modifier and TypeMethodDescriptionvoid
Deplacement.unMouvement
(Creature c, Case p) void
DeplacementFourmi.unMouvement
(Creature c, Case p) make a move to a defined Case.void
DeplacementNull.unMouvement
(Creature c, Case p) If lauch print an error. -
Uses of Case in fr.formiko.views
Modifier and TypeMethodDescriptiondefault void
View.centerOverCase
(Case c) Center map over a Case. -
Uses of Case in fr.formiko.views.cli
-
Uses of Case in fr.formiko.views.gui2d
Modifier and TypeMethodDescriptionvoid
FPanelCarte.calculerXYTemp
(int xT, int yT, int k, Case c) fonction that place ObjetSurCarteAId on the same Case.void
ViewGUI2d.centerOverCase
(Case c) Center map panel over a Case.boolean
FPanelCarte.isCaseVisible
(Case c) Tool to save performances by drawing only visible Case.static boolean
FPanelCarte.isCaseVisible
(Case c, int minX, int minY, int maxX, int maxY, int caseSize) Tool to save performances by drawing only visible Case.private boolean
FPanelCarte.needToDrawAnthillColor
(Case c, int x, int y) return true if we need to draw the color of the anthill.void
FPanelCarte.peintImagePourCase
(Case c, int x, int y, Graphics2D g) Draw a Case.void
FPanelCarte.peintImagePourCase
(Case c, Graphics2D g)