public class Grid extends Object
Constructor and Description |
---|
Grid(int width,
int height,
int cellSize,
int maxValue,
List<IntegerCell> cells) |
Modifier and Type | Method and Description |
---|---|
List<IntegerCell> |
getCells()
Return all the cells
|
int |
getCellSize()
Return the cell size (in square meters)
|
int |
getHeight()
Return the height (in meters)
|
int |
getMaxValue()
Return the max value of the cells of the grid
|
int |
getWidth()
Return the width (in meters)
|
public Grid(int width, int height, int cellSize, int maxValue, List<IntegerCell> cells)
public int getWidth()
public int getHeight()
public int getCellSize()
public int getMaxValue()
public List<IntegerCell> getCells()