|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--logicell.CCells
CCells : this class manages and draws blocks of 8x8 cells
Field Summary | |
(package private) long |
CellsVal
Cells values : long 64 bits = 8x8 |
(package private) CCells |
EBloc
Point to Eastern bloc |
private int |
EmptyGen
# empty generations |
private java.util.Vector |
FatherList
Pointer to the List wich contains blocks |
(package private) CCells |
NBloc
Point to North bloc |
(package private) CCells |
NEBloc
Point to NEast bloc |
(package private) CCells |
NWBloc
Point to NorthWest bloc |
(package private) CCells |
SBloc
Point to South bloc |
(package private) CCells |
SEBloc
Point to SouthEast bloc |
(package private) CCells |
SWBloc
Point to SouthWest bloc |
(package private) static long |
Tps
|
(package private) static long |
TpsA
|
(package private) CCells |
WBloc
Point to Western bloc |
(package private) int |
x
position of the bloc |
(package private) int |
y
position of the bloc |
Constructor Summary | |
CCells(java.util.Vector bv,
int _x,
int _y)
Construct cells at pos |
|
CCells(java.util.Vector bv,
int _x,
int _y,
long v)
Construct cells at pos according to cells values |
Method Summary | |
(package private) void |
DestroyBloc()
destruction of a bloc, updates pointers |
(package private) void |
Live(jpUtil.JPView v)
Live : draw the CCells (blocks), manages blocks of 2x2 cells |
private void |
SetPointers()
Set pointer to neighbours. |
Methods inherited from class java.lang.Object |
|
Field Detail |
static long Tps
static long TpsA
int x
int y
private int EmptyGen
CCells NBloc
CCells NEBloc
CCells EBloc
CCells SEBloc
CCells SBloc
CCells SWBloc
CCells WBloc
CCells NWBloc
long CellsVal
private java.util.Vector FatherList
Constructor Detail |
public CCells(java.util.Vector bv, int _x, int _y)
public CCells(java.util.Vector bv, int _x, int _y, long v)
Method Detail |
void DestroyBloc()
void Live(jpUtil.JPView v)
private void SetPointers()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |