Uses of Class
com.takenoko.layers.irrigation.EdgePosition
Packages that use EdgePosition
Package
Description
-
Uses of EdgePosition in com.takenoko.actions.irrigation
Fields in com.takenoko.actions.irrigation declared as EdgePositionModifier and TypeFieldDescription(package private) final EdgePosition
PlaceIrrigationAction.edgePosition
(package private) final EdgePosition
PlaceIrrigationFromInventoryAction.positionVector
Constructors in com.takenoko.actions.irrigation with parameters of type EdgePositionModifierConstructorDescriptionPlaceIrrigationAction
(EdgePosition edgePosition) PlaceIrrigationFromInventoryAction
(EdgePosition positionVector) -
Uses of EdgePosition in com.takenoko.bot.unitary
Fields in com.takenoko.bot.unitary with type parameters of type EdgePositionModifier and TypeFieldDescriptionprivate final List<EdgePosition>
SmartPlaceIrrigation.irrigationToPlace
-
Uses of EdgePosition in com.takenoko.bot.utils.pathfinding.irrigation
Fields in com.takenoko.bot.utils.pathfinding.irrigation declared as EdgePositionModifier and TypeFieldDescriptionprivate final EdgePosition
Node.edgePosition
The field for theedgePosition
record component.Methods in com.takenoko.bot.utils.pathfinding.irrigation that return EdgePositionModifier and TypeMethodDescriptionNode.edgePosition()
Returns the value of theedgePosition
record component.Methods in com.takenoko.bot.utils.pathfinding.irrigation that return types with arguments of type EdgePositionModifier and TypeMethodDescriptionstatic List<EdgePosition>
IrrigationPathFinding.getShortestIrrigationPath
(List<PositionVector> tilesToIrrigate, Board board) private static List<EdgePosition>
IrrigationPathFinding.rebuildPath
(Node node) Methods in com.takenoko.bot.utils.pathfinding.irrigation with parameters of type EdgePositionModifier and TypeMethodDescriptionprivate static int
IrrigationPathFinding.calculateHCost
(Board board, List<PositionVector> tilesToIrrigate, EdgePosition placedEdgePosition) Constructors in com.takenoko.bot.utils.pathfinding.irrigation with parameters of type EdgePositionModifierConstructorDescription(package private)
Node
(Board board, int gCost, int hCost, Node parent, EdgePosition edgePosition) Creates an instance of aNode
record class. -
Uses of EdgePosition in com.takenoko.engine
Methods in com.takenoko.engine that return types with arguments of type EdgePositionModifier and TypeMethodDescriptionBoard.getAvailableIrrigationPositions()
Board.getPlacedIrrigations()
Methods in com.takenoko.engine with parameters of type EdgePosition -
Uses of EdgePosition in com.takenoko.layers.irrigation
Fields in com.takenoko.layers.irrigation with type parameters of type EdgePositionModifier and TypeFieldDescriptionprivate HashSet<EdgePosition>
IrrigationLayer.availableEdgePositions
private Set<EdgePosition>
IrrigationLayer.irrigationChannelsPositions
Methods in com.takenoko.layers.irrigation that return EdgePositionMethods in com.takenoko.layers.irrigation that return types with arguments of type EdgePositionModifier and TypeMethodDescriptionIrrigationLayer.getAvailableEdgePositions()
static List<EdgePosition>
EdgePosition.getEdgePositions
(PositionVector positionVector) IrrigationLayer.getIrrigationChannelsPositions()
EdgePosition.getNeighbours()
Return the list of all the neighbours of the irrigation channel position A neighbour is a position that is connected to the irrigation channel positionMethods in com.takenoko.layers.irrigation with parameters of type EdgePositionModifier and TypeMethodDescriptionvoid
IrrigationLayer.placeIrrigation
(EdgePosition edgePosition, Board board) private void
IrrigationLayer.updateAvailableIrrigationChannelPositions
(EdgePosition edgePosition, Board board) Method parameters in com.takenoko.layers.irrigation with type arguments of type EdgePositionModifier and TypeMethodDescriptionprivate void
IrrigationLayer.updateAvailableIrrigationChannelPositions
(Stream<EdgePosition> edgePositionStream, Board board)