public class MazeCell extends Object
| Constructor and Description |
|---|
MazeCell(int x,
int y) |
| Modifier and Type | Method and Description |
|---|---|
int |
getX() |
int |
getY() |
boolean |
hasLeftWall() |
boolean |
hasTopWall() |
void |
setLeftWall(boolean leftWall) |
void |
setTopWall(boolean topWall) |
public int getX()
public int getY()
public void setLeftWall(boolean leftWall)
leftWall - left wall for this cellpublic void setTopWall(boolean topWall)
topWall - top wall for this cellpublic boolean hasLeftWall()
public boolean hasTopWall()
Copyright © 2018. All rights reserved.