Games\Gambit\Game.jsGamesByEmailArray
GamesByEmail.Territories
All Implemented Interfaces:
GamesByEmail.GambitTerritories
extendsTerritories
| Constructor Summary |
Creates a territory collection.
|
| Field Summary |
Fields inherited from GamesByEmail.Territories |
game |
Fields inherited from Array |
length |
| Method Summary | |
|
Override to add HTML that shows above all the territories.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods inherited from GamesByEmail.Territories |
appendHtml, clearMouseEvents, findAtPoint, hideHilites |
Methods inherited from Array |
indexOf |
Methods inherited from Foundation.Class |
getTypePath, isInstanceOf |
| Constructor Detail |
GamesByEmail.GambitTerritories(/*Game*/ game,
/*Class*/ territoryClass,
/*Array*/ territories)
Creates a territory collection.
Parameters:game -The parent game object.
territoryClass -The class to use for individual territories.
territories -The data for the territories to inherit.
| Method Detail |
StringBuilder appendOverlayHtml(/*StringBuilder*/ htmlBuilder)
Override to add HTML that shows above all the territories.
Overrides:appendOverlayHtml in class TerritorieshtmlBuilder -The builder to append the HTML for the territory.
armyCount(color)
color -
canAttack()
canFortify()
clearCachedElements()
count(color)
color -
dispose()
dispose in class Territories
getString(territories)
territories -
getValue(value)
value -
setValue(value)
value -
synchDark()