public class AgTypesTable
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private byte[][] |
tableFuture |
private byte[][] |
tablePresent |
Constructor and Description |
---|
AgTypesTable()
All predefined type of atom (current if the atom is occupied and future if the atom is not
occupied).
|
Modifier and Type | Method and Description |
---|---|
byte |
getCurrentType(int immobile,
int mobile)
Returns the type of the atom between TERRACE, CORNER, EDGE, KINK and ISLAND.
|
byte |
getFutureType(int immobile,
int mobile) |
private final byte[][] tablePresent
private final byte[][] tableFuture
public AgTypesTable()
public byte getCurrentType(int immobile, int mobile)
immobile
- Number of immobile neighboursmobile
- Number of mobile neighbourspublic byte getFutureType(int immobile, int mobile)