Games\GameOfLife\GamesByEmail.GameOfLifeGame.js
GamesByEmail
Object
All Implemented Interfaces:
GamesByEmail.GameOfLifeGame
implementsFoundation.Class
,Foundation.Elemental
,Foundation.Resourceful
Nested Class Summary | |
static | GameOfLifeGame.Cell
|
Constructor Summary |
|
Enum Summary | |
static | ADJACENT_INDECIES
|
Field Summary | |
static | resourcePack
|
Fields inherited from Foundation.Elemental |
$Foundation_$registry_index |
Method Summary | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static |
|
Methods inherited from Foundation.Class |
getTypePath , isInstanceOf |
Methods inherited from Foundation.Elemental |
attachEvent , detachEvent , elementId , event , getById , getElement , getElementValue , getElements , getFirst , getNext , parseElementId , processHtml , processHtml |
Methods inherited from Foundation.Resourceful |
resource , resource , resourceUrl , resourceUrl |
Constructor Detail |
GamesByEmail.GameOfLifeGame(resourcePack)
resourcePack -
Enum Detail |
static ADJACENT_INDECIES
x -
y -
x -
y -
x -
y -
x -
y -
x -
y -
x -
y -
x -
y -
x -
y -
Field Detail |
static resourcePack
Method Detail |
clear()
createCellAtXY(x,
y,
dead)
x -
y -
dead -
createCellAtXYIndex(x,
y,
adjacentIndex,
dead)
x -
y -
adjacentIndex -
dead -
debug()
dispose()
dispose
in class Class
exportToArray(offset)
offset -
findCellAtXY(x,
y,
startIndex)
x -
y -
startIndex -
findCellAtXYIndex(x,
y,
adjacentIndex,
startIndex)
x -
y -
adjacentIndex -
startIndex -
findCellIndexAtXY(x,
y,
startIndex)
x -
y -
startIndex -
getCellHtml(cell)
cell -
getColorFromAge(age)
age -
getContainer()
getHtml()
getInnerHtml()
importFromArray(state,
offset)
state -
offset -
onClick(event)
event -
removeAllCells()
reset()
start()
stop()
tick()
toggle()
updateCellElement(element,
cell)
element -
cell -
updateContainer()
static writeToPage(resourcePack)
resourcePack -