Package model

Class Path

java.lang.Object
model.Path

public class Path
extends java.lang.Object
Path has methods for reading the path specified in the XML sheet, i.e. reads walkable regions. Has inner class GridPosition.
  • Constructor Summary

    Constructors 
    Constructor Description
    Path()  
    Path​(char[][] map, Region[][] regions, int rows, int cols)
    Constructor for Path.
  • Method Summary

    Modifier and Type Method Description
    void doPathSearch()  
    Region getGoalRegion()  
    Region getStartRegion()  
    static void main​(java.lang.String[] args)  
    void search​(model.Path.GridPosition gP)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Path

      public Path​(char[][] map, Region[][] regions, int rows, int cols)
      Constructor for Path.
      Parameters:
      map - -
      regions -
      rows -
      cols -
    • Path

      public Path()
  • Method Details