Games\Phalanx\Game.js
GamesByEmail
Array
GamesByEmail.Pieces
All Implemented Interfaces:
GamesByEmail.PhalanxPieces
extendsPieces
Constructor Summary |
Creates a piece collection.
|
Field Summary |
Fields inherited from GamesByEmail.Pieces |
game |
Fields inherited from Array |
length |
Method Summary | |
|
|
|
|
|
|
|
Gets the combined value of all the pieces in the collection, extra piece object in the collection for adding new pieces to the board in games like Reversi and Go.
|
|
|
Methods inherited from GamesByEmail.Pieces |
appendHiliteHtml , appendHtml , appendInnerHtml , cancelFlashes , clear , countColor , findAtPoint , flash , getNewPiece , setValue |
Methods inherited from Array |
indexOf |
Methods inherited from Foundation.Class |
getTypePath , isInstanceOf |
Constructor Detail |
GamesByEmail.PhalanxPieces(/*Game
*/ game)
Creates a piece collection.
Parameters:game -The parent game object.
Method Detail |
dispose()
getPhalanxedList(color)
color -
getPhalanxedValue()
String
getValue()
Gets the combined value of all the pieces in the collection, extra piece object in the collection for adding new pieces to the board in games like Reversi and Go.
Overrides: Returns:
removePhalanxed()