Constructor and Description |
---|
ArrayGridModel(T[][] array) |
Modifier and Type | Method and Description |
---|---|
com.simsilica.lemur.core.VersionedReference<GridModel<T>> |
createReference() |
T |
getCell(int row,
int col,
T existing) |
int |
getColumnCount() |
GridModel<T> |
getObject() |
int |
getRowCount() |
long |
getVersion() |
protected void |
incrementVersion() |
void |
setCell(int row,
int col,
T value) |
public ArrayGridModel(T[][] array)
public int getRowCount()
getRowCount
in interface GridModel<T>
public int getColumnCount()
getColumnCount
in interface GridModel<T>
public void setCell(int row, int col, T value)
protected void incrementVersion()
public long getVersion()