Games\WW2\Game.js
GamesByEmail
Array
GamesByEmail.Territories
All Implemented Interfaces:
GamesByEmail.WW2Territories
extendsTerritories
Constructor Summary |
Creates a territory collection.
|
Field Summary |
Fields inherited from GamesByEmail.Territories |
game |
Fields inherited from Array |
length |
Method Summary | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods inherited from GamesByEmail.Territories |
appendHtml , appendOverlayHtml , clearMouseEvents , findAtPoint , hideHilites |
Methods inherited from Array |
indexOf |
Methods inherited from Foundation.Class |
getTypePath , isInstanceOf |
Constructor Detail |
GamesByEmail.WW2Territories(/*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 |
autoLandOrCrashExtraEnemyFighters()
clearForNextTurn()
clearMoves()
clearUnitMoves()
clearUnitsManufactured()
conquerBlitzedAndUnopposed()
defenseOrderingNeeded()
dispose()
dispose
in class Territories
findCapital(power)
power -
findCombat()
getNpl(power)
power -
getString()
isCapitalHeld(power)
power -
liberateRest(power,
logPhase)
power -
logPhase -
markDefenseOrderingNeeded()
needsCombatResolved()
needsPlanesLanded()
orderRemainingByCost()
processNonCombat()
recordLandedPlanes(phase)
phase -
recordUnitMovement(phase)
phase -
setFirstAttack()
setString(strings)
strings -
teamHasIndustrialComplex(team)
team -
teamHasPlayableCombatUnits(team)
team -
territoryAtPoint(point)
point -
updateAmphibiousAssault()
updateBlink(blinkChanged)
blinkChanged -
updateRetreatTerritories()