Class Grid

java.lang.Object
de.tum.cit.ase.maze.map.path.Grid

public class Grid extends Object
  • Constructor Details

    • Grid

      public Grid(int width, int height)
  • Method Details

    • setObstacle

      public void setObstacle(int x, int y, boolean isObstacle)
    • getNode

      public Node getNode(int x, int y)
    • getGrid

      public Node[][] getGrid()
    • setGrid

      public void setGrid(Node[][] grid)
    • getWidth

      public int getWidth()
    • setWidth

      public void setWidth(int width)
    • getHeight

      public int getHeight()
    • setHeight

      public void setHeight(int height)