Class Ways
- java.lang.Object
-
- com.apogames.kitchenchef.game.pathfinding.Ways
-
public class Ways extends java.lang.Object
The type Ways.
-
-
Constructor Summary
Constructors Constructor Description Ways(com.apogames.kitchenchef.game.game.KitchenBoard board)
Instantiates a new Ways.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathResult
findWayFromTo(KitchenInformation information, Player player, Vector goalPosition)
gibt ein PathResult Objekt zurueckPathResult
findWayFromTo(com.apogames.kitchenchef.game.game.KitchenBoard information, KitchenPlayer player, Vector goalPosition)
java.util.List<PathPoint>
getPointList()
gibt die Liste mit allen Punkten fue rdie Wegfindung zurueck
-
-
-
Method Detail
-
getPointList
public java.util.List<PathPoint> getPointList()
gibt die Liste mit allen Punkten fue rdie Wegfindung zurueck- Returns:
- gibt die Liste mit allen Punkten fue rdie Wegfindung zurueck
-
findWayFromTo
public PathResult findWayFromTo(KitchenInformation information, Player player, Vector goalPosition)
gibt ein PathResult Objekt zurueck- Parameters:
information
- the informationplayer
- the playergoalPosition
- the goal position- Returns:
- path result
-
findWayFromTo
public PathResult findWayFromTo(com.apogames.kitchenchef.game.game.KitchenBoard information, KitchenPlayer player, Vector goalPosition)
-
-