File: Games\GameOfLife\GamesByEmail.GameOfLifeGame.js

GamesByEmail
Class GameOfLifeGame.Cell

Object
  
 
 
GamesByEmail.GameOfLifeGame.Cell

All Implemented Interfaces:

Class

Enclosing Class:

GameOfLifeGame


GamesByEmail.GameOfLifeGame.Cell

implements Foundation.Class

Constructor Summary
GamesByEmail.GameOfLifeGame.Cell(id, x, y, dead)

Method Summary
 adjacentMarked(adjacentIndex)
 atXY(x, y)
 clearAdjacent()
 countAdjacent()
 dispose()
 getAdjacentIndex(otherCell)
 isAdjacent(otherCell)
 markAdjacent(adjacentIndex, recipical)
 markBothIfAdjacent(otherCell)

Methods inherited from Foundation.Class
getTypePath, isInstanceOf

Constructor Detail

GameOfLifeGame.Cell

GamesByEmail.GameOfLifeGame.Cell(id,
                                 x,
                                 y,
                                 dead)
Parameters:
id - 

x - 

y - 

dead - 

Method Detail

adjacentMarked

adjacentMarked(adjacentIndex)
Parameters:
adjacentIndex - 


atXY

atXY(x,
     y)
Parameters:
x - 

y - 


clearAdjacent

clearAdjacent()

countAdjacent

countAdjacent()

dispose

dispose()
Overrides:
dispose in class Class

getAdjacentIndex

getAdjacentIndex(otherCell)
Parameters:
otherCell - 


isAdjacent

isAdjacent(otherCell)
Parameters:
otherCell - 


markAdjacent

markAdjacent(adjacentIndex,
             recipical)
Parameters:
adjacentIndex - 

recipical - 


markBothIfAdjacent

markBothIfAdjacent(otherCell)
Parameters:
otherCell -