Games\WW2\Game.js
GamesByEmail
Object
All Implemented Interfaces:
GamesByEmail.WW2Piece
implementsFoundation.Class
Constructor Summary |
|
Field Summary | |
static | _pieceRects
|
Method Summary | |
|
|
|
|
|
|
|
|
|
|
|
|
static |
|
|
|
|
|
|
|
|
|
static |
|
static |
|
|
|
|
|
static |
|
static |
|
|
|
static |
|
|
|
static |
|
|
|
|
|
|
|
|
|
static |
|
|
|
|
|
static |
|
static |
|
|
|
static |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static |
|
static |
|
|
|
|
|
Methods inherited from Foundation.Class |
getTypePath , isInstanceOf |
Constructor Detail |
GamesByEmail.WW2Piece(pieces,
index,
pieceChar)
pieces -
index -
pieceChar -
Field Detail |
static _pieceRects
Method Detail |
amphibiousAssaultCount(territory)
territory -
canCarryMore()
cancelAmphibiousAssault(count,
unloadedUnits)
count -
unloadedUnits -
clearAttributes()
clearForNextTurn()
cloneTransport()
static create(power,
unit)
power -
unit -
dispose()
dispose
in class Class
getAttributes()
getDefenseOrderSpan()
getHtml(numCarryHide)
numCarryHide -
static getImageHtml(game,
power,
unit,
noTitle)
game -
power -
unit -
noTitle -
static getMusterIndex(unit)
unit -
getPieceString(power,
unit)
power -
unit -
getRectangle()
static getRectangle(powerIndex,
unit,
industrialTechnology,
longRangeAircraft,
jetPower,
heavyBombers,
rockets,
superSubmarines)
powerIndex -
unit -
industrialTechnology -
longRangeAircraft -
jetPower -
heavyBombers -
rockets -
superSubmarines -
static getRectanglePU(power,
unit)
power -
unit -
getString()
static getTitlePU(power,
unit)
power -
unit -
isAirUnit()
static isAirUnit(unit)
unit -
isCarryingSameLoad(otherTransport)
otherTransport -
isCombat()
isFriendly(power)
power -
isLandUnit(noGuns)
noGuns -
static isLandUnit(unit,
noGuns)
unit -
noGuns -
isOurs(power)
power -
isSeaUnit()
static isSeaUnit(unit)
unit -
static isTransportable(pieceChar)
pieceChar -
moveTo(territory,
updateOld,
updateNew)
territory -
updateOld -
updateNew -
static powerIndexFromPieceChar(pieceChar)
pieceChar -
retreatRange()
setAttribute(attributeString)
attributeString -
setAttributes(attributesString)
attributesString -
setByChar(pieceChar)
pieceChar -
setDefenseOrderHtml()
setOwner(owner)
owner -
setUnit(unit)
unit -
totalCost()
transportLoadPiece(piece,
remove)
piece -
remove -
transportUnloadPiece(index,
toTerritory,
realUnload)
index -
toTerritory -
realUnload -
undoUnload(territory)
territory -
static unitFromMusterIndex(muster)
muster -
static unitFromPieceChar(pieceChar)
pieceChar -
unloadAmphibiousAssault(territory,
count,
unloadedUnits)
territory -
count -
unloadedUnits -
weControl()