public abstract class Cell extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<Cell,Boundary> |
boundaries |
| Constructor and Description |
|---|
Cell() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Boundary> |
getBoundaries() |
Boundary |
getBoundary(Cell neighbor) |
abstract String |
getId() |
Set<Cell> |
getNeighbors() |
Cell |
getNeighborWithAllWalls() |
boolean |
hasAllWalls() |
boolean |
hasWall(Cell neighbor) |
void |
setHasWall(Cell neighbor,
boolean hasWall) |
String |
toString() |
public abstract String getId()
public Collection<Boundary> getBoundaries()
public boolean hasWall(Cell neighbor)
public void setHasWall(Cell neighbor, boolean hasWall)
public boolean hasAllWalls()
public Cell getNeighborWithAllWalls()
Copyright © 2018. All Rights Reserved.