File: Games\Empires\GameForm.js

GamesByEmail
Class EmpiresGameForm

Object
  
 
 
GamesByEmail.GameForm
 
 
GamesByEmail.EmpiresGameForm

All Implemented Interfaces:

Class, Elemental, Resourceful, Server


GamesByEmail.EmpiresGameForm

extends GameForm

Constructor Summary
GamesByEmail.EmpiresGameForm(settings)

Field Summary
static  defaultSettings
//static data
static  resourcePack

Fields inherited from Foundation.Elemental
$Foundation_$registry_index

Method Summary
 chkAutoChanged(chk)
 chkIncasChanged(chk)
 createGameHtml(htmlBuilder)
 createGameOptionsHtml(h)
 debug(sMsg)
 dispose()
 getButtonHtml(sName, sOnClick)
 joinGameOptionsHtml(h)
 onCreate()
//over-ride this to get options from html, assign to this.info. then start game.
 showDebugButtons(html)
 showDebugWindow()
///////// debug functions /////////////////// //////////////////////////////////////////////////////////////////////
 testJoinHtml()
//quick and dirty way of testing the markup that'll get injected into the join game panel.

Methods inherited from GamesByEmail.GameForm
addCreateGameFormToPage, attachHelpers, attemptLogin, cancelJoin, cancelRecommend, catchResponseError, changeDomain, createGameForm, createGamePlayButtonHtml, createGamePlayerHtml, createGamePlayersHtml, createPlayer, findClassForGameType, focusOnPlayer, gameBoardUrl, getAvailableGameTypes, getDefaultTitle, getHtml, getOurEmail, getPlayUrl, gleanGame, handleBuddyResponse, handleBuddyResponse, handleJoinResponse, handleJoinedResponse, handlePlayResponse, handleRecommendResponse, handleRequestGameResponse, importDefaultSettings, importSettings, inviteSomeone, isAvailableGameType, isEmailAddressFormatValid, isForGameType, isPlayerShownOnJoin, joinGame, joinGameHtml, joinGamePlayerHtml, joinGamePlayersHtml, joinThisGame, jsSerialize, numPlayersOnChange, onCancelJoin, onCreateSuccess, onGameTypeChange, onJoin, onJoinLockSuccess, onJoinSuccess, onMicroLoginShow, onRequestJoinLock, openInvitation, play, playThisTeam, playerModeBack, positionsAvailableToJoin, recommendThisGame, recommendingGame, recordAll, recordFriend, recordMe, requestGame, requestSessionInfo, responseErrorReported, sendPlay, setPlayer, setShowGameControl, setStartAnotherGamePlayers, showGame, startNewGame, teamTitle, updateEmailStyle, updateJoinForm, updatePlayerCreate, updatePlayerJoin, writeJoinGameFormToPage

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

Methods inherited from Foundation.Resourceful
resource, resource, resourceUrl, resourceUrl

Methods inherited from Foundation.Server
server, serverSerialized, serverSynchronous

Constructor Detail

EmpiresGameForm

GamesByEmail.EmpiresGameForm(settings)
Parameters:
settings - 

Field Detail

defaultSettings

static defaultSettings

//static data

Overrides:
defaultSettings in class GameForm

resourcePack

static resourcePack
Overrides:
resourcePack in class GameForm

Method Detail

chkAutoChanged

chkAutoChanged(chk)
Parameters:
chk - 


chkIncasChanged

chkIncasChanged(chk)
Parameters:
chk - 


createGameHtml

createGameHtml(htmlBuilder)
Overrides:
createGameHtml in class GameForm
Parameters:
htmlBuilder - 


createGameOptionsHtml

createGameOptionsHtml(h)
Parameters:
h - 
/* htmlBuilder

debug

debug(sMsg)
Parameters:
sMsg - 


dispose

dispose()
Overrides:
dispose in class GameForm

getButtonHtml

getButtonHtml(sName,
              sOnClick)
Parameters:
sName - 

sOnClick - 


joinGameOptionsHtml

joinGameOptionsHtml(h)
Parameters:
h - 


onCreate

onCreate()

//over-ride this to get options from html, assign to this.info. then start game.

Overrides:
onCreate in class GameForm

showDebugButtons

showDebugButtons(html)
Parameters:
html - 


showDebugWindow

showDebugWindow()

///////// debug functions /////////////////// //////////////////////////////////////////////////////////////////////


testJoinHtml

testJoinHtml()

//quick and dirty way of testing the markup that'll get injected into the join game panel.