| |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SquareOfLand | |
evolution | |
evolution.actions | |
evolution.constructions | |
evolution.events |
Uses of SquareOfLand in evolution |
Constructors in evolution with parameters of type SquareOfLand | |
Human.Human(SquareOfLand sq) Create a new human. |
Methods in evolution that return SquareOfLand | |
SquareOfLand | GameBoard.getSquare(int x, int y) Get the square at the given position. |
SquareOfLand | Human.getSquareOfLand() Get the square of land this human stands on. |
protected SquareOfLand | WorldController.getSelectedSquare() Return the square of land that is currently selected. |
Methods in evolution with parameters of type SquareOfLand | |
List | GameBoard.getSurroundingSquares(SquareOfLand sq, int range, boolean explored) Get the surrounding squares in the range of a certain position. |
void | Human.setSquareOfLand(SquareOfLand square) Set the square of land this human stands on. |
protected void | Human.transformLand(SquareOfLand sq) If the current action also transforms land, then do that. |
void | World.createHuman(SquareOfLand sq) Create a human on a sqyare of land. |
protected void | WorldController.setSelectedSquare(SquareOfLand square) Set the selected square of land to the given square of land. |
Uses of SquareOfLand in evolution.actions |
Methods in evolution.actions that return SquareOfLand | |
SquareOfLand | Action.findSquare(SquareOfLand sq, int visionrange) Get the square in the range of a certain position where it is the most suitable to perform a given action. |
Methods in evolution.actions with parameters of type SquareOfLand | |
protected double | Action.calculateSquareValue(SquareOfLand sq, Map neededResources, boolean maximizing) Calculate the value of the given square of land for this action. |
protected boolean | Action.canBePerformedOn(SquareOfLand square) Checks whether this action can be performed on the given square of land. |
SquareOfLand | Action.findSquare(SquareOfLand sq, int visionrange) Get the square in the range of a certain position where it is the most suitable to perform a given action. |
protected void | Action.modifyLandResources(SquareOfLand square, Map resources, double mul, boolean influencedBy) Modify the landresources that are mentioned in the given map. |
void | Action.performEnergyBuffer(SquareOfLand square, Human human) A special case of perform |
boolean | ActionKnowledgeCatalog.canBePerformedOn(String actionName, SquareOfLand sq) See if this action can be performed on the given square. |
Object[] | ActionKnowledgeCatalog.transformsLand(SquareOfLand sq, String actionName) Does the given action transform the landtype of the given square? Returns Object[] { Boolean transforms : does the action transform yes or no String toLand : the land type we transform to String detLandResource : the determening land resource Double limit : the limit the land resource should have to transform the land type Boolean lte : must the current value be less then equal than the limit Boolean gte : must the current value be greater then equal than the limit |
protected boolean | Constructing.canBePerformedOn(SquareOfLand square) Checks whether this constructing-action can be performed on the given square of land. |
protected boolean | Exploring.canBePerformedOn(SquareOfLand square) Checks whether this action can be performed on the given square of land. |
protected boolean | GeoInvestigation.canBePerformedOn(SquareOfLand square) Checks whether this action can be performed on the given square of land. |
protected boolean | GeoInvestigation.isRevealed(SquareOfLand square) Checks whether this square of land has already revealed if there are coals under the ground or not. |
Uses of SquareOfLand in evolution.constructions |
Constructors in evolution.constructions with parameters of type SquareOfLand | |
CoalMine.CoalMine(SquareOfLand sl) Constructor of a Coalmine |
Methods in evolution.constructions with parameters of type SquareOfLand | |
void | ConstructionKnowledgeCatalog.build(String constructionName, String shape, List humans, SquareOfLand sq) Build a construction. |
protected boolean | ConstructionKnowledgeCatalog.canStandOn(String construction, SquareOfLand sq, List humans) Checks if the construction can stand on the given square of land. |
protected List | ConstructionKnowledgeCatalog.getSquares(SquareOfLand sq, String shape) Get the squares marked in the shape string with the given square as upper left corner. |
Uses of SquareOfLand in evolution.events |
Constructors in evolution.events with parameters of type SquareOfLand | |
SquareChangedEvt.SquareChangedEvt(SquareOfLand square) Create a new square changed event. |
Methods in evolution.events that return SquareOfLand | |
SquareOfLand | SquareChangedEvt.getSquare() Return the square of land which changed. |
| a gvijf production | ||||||||
PREV NEXT | FRAMES NO FRAMES |