Games\WW2\Game.js
GamesByEmail
Object
All Implemented Interfaces:
GamesByEmail.WW2Pieces
implementsFoundation.Class
Constructor Summary |
|
Methods inherited from Foundation.Class |
getTypePath , isInstanceOf |
Constructor Detail |
GamesByEmail.WW2Pieces(territory)
territory -
Method Detail |
addPiece(piece)
piece -
allAttackersHit(numUnitsHit,
numSeaUnitsHit)
numUnitsHit -
numSeaUnitsHit -
amphibiousAssaultCount(territory)
territory -
antiaircraftFireCount()
antiaircraftFireLog(rolls)
rolls -
appendHtml(htmlBuilder)
htmlBuilder -
attackerHitsRemaining(numUnitsHit,
numSeaUnitsHit)
numUnitsHit -
numSeaUnitsHit -
attackingSeaUnitCount()
availableCarrierSpace()
canRetreatToTerritory(territory)
territory -
cancelShoreBombardment(power,
unit,
count)
power -
unit -
count -
clearForNextTurn()
clearHits()
clearUnlandedAmphibiousUnits(territory)
territory -
createPiece(index,
unitChar)
index -
unitChar -
defenseOrderIndexSpanFromEvent(event)
event -
defenseOrderOnMouseDown(event)
event -
defenseOrderOnMouseMove(event)
event -
defenseOrderOnMouseUp(event)
event -
dispose()
dispose
in class Class
droppedSomeBombsHtml(rolls)
rolls -
findByUnitTeamMoved(unit,
team,
moved,
numSpacesMoved,
transport)
unit -
team -
moved -
numSpacesMoved -
transport -
findByUnitTeamUnlanded(unit,
team,
unlanded)
unit -
team -
unlanded -
getBattleBoardAmphibAssaultDetails(territory,
roll,
allowUnlanded,
currentCount)
territory -
roll -
allowUnlanded -
currentCount -
getBattleBoardDetails(roll,
attacking,
rolls,
rollsConsumed,
selectHits,
allowUnlanded,
firstStrike)
roll -
attacking -
rolls -
rollsConsumed -
selectHits -
allowUnlanded -
firstStrike -
getBattleBoardUnitDetails(unit,
roll,
attacking,
rolls,
selectHits,
currentCount)
unit -
roll -
attacking -
rolls -
selectHits -
currentCount -
getStrategicBombingRaidInfo()
getString()
hasMoreThanOneTypeOfCombatUnit()
hasOneOfOurCombatUnits(power)
power -
hasSeaUnits(friendly)
friendly -
hitAllAttackers()
hitDefenders(numberOfHits,
seaUnitsOnly)
numberOfHits -
seaUnitsOnly -
moveDefenseOrder(piece,
newIndex)
piece -
newIndex -
moveNonCombatToFront()
moveUnitTowardFront(higherFromIndex,
lowerToIndex)
higherFromIndex -
lowerToIndex -
newUnit(unitChar)
unitChar -
orderCombatUnitsByCost()
removeHit(friendly)
friendly -
removePiece(piece)
piece -
retreatRange()
retreatTo(territory)
territory -
setDefenseOrderHtml()
setShoreBombardment(territory,
power,
unit,
count)
territory -
power -
unit -
count -
setString(piecesString)
piecesString -
setUsedInBattleThisTurn()
shoreBombardmentAvailable(power,
unit)
power -
unit -
shoreBombardmentParticipating(power,
unit,
territory)
power -
unit -
territory -
shotDownSomePlanesHtml(rolls)
rolls -
staticafyAmphibiousAssaultVessels(territory)
territory -
teamHasPlayableCombatUnits(team)
team -
trackHtml()
tradeHitWithLesserRangeUnhitUnit(piece)
piece -
unitBoardHtml(unit,
powerList)
unit -
powerList -
unitPowerList(holdingPower)
holdingPower -
unitTrackHtml(unit,
trackCounter)
unit -
trackCounter -
unitTypeCount(unit)
unit -
unlandedAircraftCount()
updateBoard(holdingPower)
holdingPower -