Class Ways


  • public class Ways
    extends java.lang.Object
    The type Ways.
    • Constructor Detail

      • Ways

        public Ways​(com.apogames.kitchenchef.game.game.KitchenBoard board)
        Instantiates a new Ways.
        Parameters:
        board - the board
    • 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 information
        player - the player
        goalPosition - the goal position
        Returns:
        path result
      • findWayFromTo

        public PathResult findWayFromTo​(com.apogames.kitchenchef.game.game.KitchenBoard information,
                                        KitchenPlayer player,
                                        Vector goalPosition)