|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PathNode | |
---|---|
net.sf.freecol.client.gui | Contains the GUI classes. |
net.sf.freecol.common.model | Contains the game model. |
net.sf.freecol.common.model.pathfinding | Classes used when making searches on the map. |
net.sf.freecol.server.ai.mission | Contains the missions an AIUnit can be assigned to. |
Uses of PathNode in net.sf.freecol.client.gui |
---|
Methods in net.sf.freecol.client.gui that return PathNode | |
---|---|
PathNode |
GUI.getGotoPath()
Gets the path to be drawn on the map. |
Methods in net.sf.freecol.client.gui with parameters of type PathNode | |
---|---|
void |
GUI.setGotoPath(PathNode gotoPath)
Sets the path to be drawn on the map. |
Uses of PathNode in net.sf.freecol.common.model |
---|
Fields in net.sf.freecol.common.model declared as PathNode | |
---|---|
PathNode |
PathNode.next
The next node in the path. |
PathNode |
PathNode.previous
The previous node in the path. |
Methods in net.sf.freecol.common.model that return PathNode | |
---|---|
PathNode |
Unit.findPath(Tile end)
Finds a shortest path from the current Tile to the one
specified. |
PathNode |
Unit.findPath(Tile start,
Tile end)
Finds a shortest path from the current Tile to the one
specified. |
PathNode |
Map.findPath(Tile start,
Tile end,
Map.PathType type)
Finds a shortest path between the given tiles. |
PathNode |
Map.findPath(Unit unit,
Tile start,
Tile end)
Finds a shortest path between the given tiles. |
PathNode |
Map.findPath(Unit unit,
Tile start,
Tile end,
CostDecider costDecider)
Finds a shortest path between the given tiles. |
PathNode |
Map.findPath(Unit unit,
Tile start,
Tile end,
Unit carrier)
Finds a shortest path between the given tiles. |
PathNode |
Map.findPath(Unit unit,
Tile start,
Tile end,
Unit carrier,
CostDecider costDecider)
Finds a shortest path between the given tiles. |
PathNode |
Map.findPathToEurope(Tile start)
Finds the best path to Europe independently of any unit. |
PathNode |
Map.findPathToEurope(Unit unit,
Tile start)
Finds the best path to Europe . |
PathNode |
Map.findPathToEurope(Unit unit,
Tile start,
CostDecider costDecider)
Finds the best path to Europe . |
PathNode |
PathNode.getLastNode()
Returns the last node of this path. |
PathNode |
PathNode.getTransportDropNode()
Returns the node where the unit using this path should leave it's transport. |
PathNode |
Map.search(Tile startTile,
GoalDecider gd,
CostDecider costDecider,
int maxTurns)
Finds a path to a goal determined by the given GoalDecider . |
PathNode |
Map.search(Unit unit,
GoalDecider gd,
int maxTurns)
Finds a path to a goal determined by the given GoalDecider . |
PathNode |
Map.search(Unit unit,
GoalDecider gd,
int maxTurns,
Unit carrier)
Finds a path to a goal determined by the given GoalDecider . |
PathNode |
Map.search(Unit unit,
Tile startTile,
GoalDecider gd,
CostDecider costDecider,
int maxTurns)
Finds a path to a goal determined by the given GoalDecider . |
PathNode |
Map.search(Unit unit,
Tile startTile,
GoalDecider gd,
CostDecider costDecider,
int maxTurns,
Unit carrier)
Finds a path to a goal determined by the given GoalDecider . |
PathNode |
Map.search(Unit unit,
Tile startTile,
GoalDecider gd,
int maxTurns)
Finds a path to a goal determined by the given GoalDecider . |
PathNode |
Map.search(Unit unit,
Tile startTile,
GoalDecider gd,
int maxTurns,
Unit carrier)
Finds a path to a goal determined by the given GoalDecider . |
Methods in net.sf.freecol.common.model with parameters of type PathNode | |
---|---|
int |
PathNode.compareTo(PathNode o)
Compares this PathNode 's f with the
f of the given object. |
Uses of PathNode in net.sf.freecol.common.model.pathfinding |
---|
Methods in net.sf.freecol.common.model.pathfinding that return PathNode | |
---|---|
PathNode |
GoalDecider.getGoal()
Gets the PathNode containing the goal. |
Methods in net.sf.freecol.common.model.pathfinding with parameters of type PathNode | |
---|---|
boolean |
GoalDecider.check(Unit u,
PathNode pathNode)
Checks wether the given PathNode is a
goal/sub-goal. |
Uses of PathNode in net.sf.freecol.server.ai.mission |
---|
Methods in net.sf.freecol.server.ai.mission that return PathNode | |
---|---|
PathNode |
Mission.findNearestColony(Unit unit)
|
PathNode |
TransportMission.getPath(Transportable transportable)
Returns the path the carrier should use to get/drop the given Transportable . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |