Games\Empires\Game.js
GamesByEmail
Object
All Implemented Interfaces:
GamesByEmail.EmpiresScoreDialog
implementsFoundation.Class
,Foundation.Elemental
Constructor Summary |
//SCOTT - no longer extending GamesByEmail.Game, instead implementing
//Foundation.Elemental and declaring the few needed functions
|
Field Summary | |
| getButtonHtml
//SCOTT - Borrow getButtonHtml from the game class
//Still works because this class implements Foundation.Elemental
|
Fields inherited from Foundation.Elemental |
$Foundation_$registry_index |
Method Summary | |
|
//SCOTT - created debug function and replaced all instances
//of this.game.debug with this.debug
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods inherited from Foundation.Class |
getTypePath , isInstanceOf |
Methods inherited from Foundation.Elemental |
attachEvent , detachEvent , elementId , event , getById , getElement , getElementValue , getElements , getFirst , getNext , parseElementId , processHtml , processHtml |
Constructor Detail |
GamesByEmail.EmpiresScoreDialog()
//SCOTT - no longer extending GamesByEmail.Game, instead implementing //Foundation.Elemental and declaring the few needed functions
Field Detail |
getButtonHtml
//SCOTT - Borrow getButtonHtml from the game class //Still works because this class implements Foundation.Elemental
Method Detail |
debug()
//SCOTT - created debug function and replaced all instances //of this.game.debug with this.debug
dispose()
dispose
in class Class
endTurn()
getContinentsScore(scoreItems)
scoreItems -
getPointsForCitiesAndMonuments(scoreItems)
scoreItems -
getScoreHelperArray()
getScoreHtml(html,
scoreItems)
html -
scoreItems -
getScoreItemForContinent(iContinent,
scoreItemConstructor)
iContinent -
scoreItemConstructor -
show()