public class Grid
extends java.lang.Object
| Constructor and Description |
|---|
Grid(int width,
int height,
int cellSize,
int maxValue,
java.util.List<IntegerCell> cells) |
| Modifier and Type | Method and Description |
|---|---|
java.util.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,
java.util.List<IntegerCell> cells)
public int getWidth()
public int getHeight()
public int getCellSize()
public int getMaxValue()
public java.util.List<IntegerCell> getCells()