File: Games\Set\GamesByEmail.SetGame.js

GamesByEmail
Class SetGame

Object
  
 
 
GamesByEmail.SetGame

All Implemented Interfaces:

Class, Elemental, Resourceful

Direct Known Subclasses:

SetGame.Example


GamesByEmail.SetGame

implements Foundation.Class, Foundation.Elemental, Foundation.Resourceful

Nested Class Summary
static ClassSetGame.Example
static ClassSetGame.ExamplePractice
static ClassSetGame.ExampleTest
static ClassSetGame.Tutorial
static ClassSetGame.TutorialColorTab
static ClassSetGame.TutorialFillAndNumberTab
static ClassSetGame.TutorialFillTab
static ClassSetGame.TutorialIntroductionTab
static ClassSetGame.TutorialNumberTab
static ClassSetGame.TutorialPlayTab
static ClassSetGame.TutorialShapeTab

Constructor Summary
GamesByEmail.SetGame(resourcePack)

Enum Summary
static  DECK
static  MODE
static  PROPERTY
static  SKILL

Field Summary
static  resourcePack

Fields inherited from Foundation.Elemental
$Foundation_$registry_index

Method Summary
 addCardToFadeList(card)
 addCardToSlideList(card, index, up, off)
static  addToPage(elementId, resourcePack)
 allThree(card1, card2, card3, property)
 appendHtml(htmlBuilder)
 cardClicked(event, index, cell, down)
 cardIsPartOfSet(card)
 cardRectangle(card, size)
 cardsArePartOfSet(card1, card2)
 cellFromTableAndIndex(table, index)
 changeDeck(direction, flip)
static  changeDomain(domain, extension)
 clearSelection()
 completeDeckChange()
 copyCards(copy, cards)
 dealCardsFromDeck(cards, deck, num)
 dispose()
 falseUncle()
 findCardInGroup(cards, card)
 findCardOnTable(card)
 findSelectedCard(card)
 findSet()
 getBlendedColor(fromColor, toColor, traveled)
 getCardHtml(card, hidden)
 getDeck()
 getFullDeck(properties)
 getHtml()
 getNewSoloState(skill)
 getNewSuffledDeck(skill)
 getPropertyName(property)
 getPropertyShift(property)
 getPropertyValues(property)
 getSelectedCards()
 getUncleButtonHtml()
 hasUncle()
 hintAtASet()
 idleTimeout()
 isASet(card1, card2, card3, properties)
 isLeftButtonEvent(event, allowKeyboardModifier)
 isSelectedCard(card)
 maybeCallSet()
 receiveUpdate(state)
 removeCardFromSelectedList(card)
 removeMissingSelectedCards()
 requestOnlineUpdate(callSet, callUncle)
 requestSoloUpdate(callSet, callUncle)
 requestUpdate(callSet, callUncle)
 resizeTable(table, deck, unselectedBorderColor, numCards)
 restoreUncle(backgroundOnly, delayed)
 scoreString()
 selectCard(card, nocall)
 setActive(noUpdate)
 setCardBorder(card, selected)
static  setCardUrl(url)
 setIdle()
 shuffleDeck(deck)
 slideCards()
 tellWhyNotASet()
 tempDisableUncle()
 twoAndOne(card1, card2, card3, property)
 uncle()
 uncleSetShownTimeout()
 unselectCard(card)
 updateDeals(dealsRemaining)
 updateFadingBorders()
 updateHeader()
 updateMessage(message)
 updateTable(cards, weGetCredit, theyGotPointsToo)
 updateTimerDisplay()
 whyIsASet(card1, card2, card3, interestedProperties)
 whyNotASet(card1, card2, card3)
static  writeToPage(resourcePack)

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

Constructor Detail

SetGame

GamesByEmail.SetGame(resourcePack)
Parameters:
resourcePack - 

Enum Detail

DECK

static DECK
Values:
SMALL_VERTICAL - 

SMALL_HORIZONTAL - 

MEDIUM_VERTICAL - 

MEDIUM_HORIZONTAL - 

LARGE_VERTICAL - 

LARGE_HORIZONTAL - 


MODE

static MODE
Values:
ONLINE - 

SOLO - 


PROPERTY

static PROPERTY
Values:
NUMBER_SHIFT - 

NUMBER - 

ONE - 

TWO - 

THREE - 

FILL_SHIFT - 

FILL - 

EMPTY - 

HATCHED - 

SOLID - 

SHAPE_SHIFT - 

SHAPE - 

OVAL - 

DIAMOND - 

SQUIGGLE - 

COLOR_SHIFT - 

COLOR - 

RED - 

GREEN - 

PURPLE - 

NONE - 

ALL - 


SKILL

static SKILL
Values:
BEGINNER - 

INTERMEDIATE - 

EXPERT - 

Field Detail

resourcePack

static resourcePack

Method Detail

addCardToFadeList

addCardToFadeList(card)
Parameters:
card - 


addCardToSlideList

addCardToSlideList(card,
                   index,
                   up,
                   off)
Parameters:
card - 

index - 

up - 

off - 


addToPage

static addToPage(elementId,
                 resourcePack)
Parameters:
elementId - 

resourcePack - 


allThree

allThree(card1,
         card2,
         card3,
         property)
Parameters:
card1 - 

card2 - 

card3 - 

property - 


appendHtml

appendHtml(htmlBuilder)
Parameters:
htmlBuilder - 


cardClicked

cardClicked(event,
            index,
            cell,
            down)
Parameters:
event - 

index - 

cell - 

down - 


cardIsPartOfSet

cardIsPartOfSet(card)
Parameters:
card - 


cardRectangle

cardRectangle(card,
              size)
Parameters:
card - 

size - 


cardsArePartOfSet

cardsArePartOfSet(card1,
                  card2)
Parameters:
card1 - 

card2 - 


cellFromTableAndIndex

cellFromTableAndIndex(table,
                      index)
Parameters:
table - 

index - 


changeDeck

changeDeck(direction,
           flip)
Parameters:
direction - 

flip - 


changeDomain

static changeDomain(domain,
                    extension)
Parameters:
domain - 

extension - 


clearSelection

clearSelection()

completeDeckChange

completeDeckChange()

copyCards

copyCards(copy,
          cards)
Parameters:
copy - 

cards - 


dealCardsFromDeck

dealCardsFromDeck(cards,
                  deck,
                  num)
Parameters:
cards - 

deck - 

num - 


dispose

dispose()
Overrides:
dispose in class Class

falseUncle

falseUncle()

findCardInGroup

findCardInGroup(cards,
                card)
Parameters:
cards - 

card - 


findCardOnTable

findCardOnTable(card)
Parameters:
card - 


findSelectedCard

findSelectedCard(card)
Parameters:
card - 


findSet

findSet()

getBlendedColor

getBlendedColor(fromColor,
                toColor,
                traveled)
Parameters:
fromColor - 

toColor - 

traveled - 


getCardHtml

getCardHtml(card,
            hidden)
Parameters:
card - 

hidden - 


getDeck

getDeck()

getFullDeck

getFullDeck(properties)
Parameters:
properties - 


getHtml

getHtml()

getNewSoloState

getNewSoloState(skill)
Parameters:
skill - 


getNewSuffledDeck

getNewSuffledDeck(skill)
Parameters:
skill - 


getPropertyName

getPropertyName(property)
Parameters:
property - 


getPropertyShift

getPropertyShift(property)
Parameters:
property - 


getPropertyValues

getPropertyValues(property)
Parameters:
property - 


getSelectedCards

getSelectedCards()

getUncleButtonHtml

getUncleButtonHtml()

hasUncle

hasUncle()

hintAtASet

hintAtASet()

idleTimeout

idleTimeout()

isASet

isASet(card1,
       card2,
       card3,
       properties)
Parameters:
card1 - 

card2 - 

card3 - 

properties - 


isLeftButtonEvent

isLeftButtonEvent(event,
                  allowKeyboardModifier)
Parameters:
event - 

allowKeyboardModifier - 


isSelectedCard

isSelectedCard(card)
Parameters:
card - 


maybeCallSet

maybeCallSet()

receiveUpdate

receiveUpdate(state)
Parameters:
state - 


removeCardFromSelectedList

removeCardFromSelectedList(card)
Parameters:
card - 


removeMissingSelectedCards

removeMissingSelectedCards()

requestOnlineUpdate

requestOnlineUpdate(callSet,
                    callUncle)
Parameters:
callSet - 

callUncle - 


requestSoloUpdate

requestSoloUpdate(callSet,
                  callUncle)
Parameters:
callSet - 

callUncle - 


requestUpdate

requestUpdate(callSet,
              callUncle)
Parameters:
callSet - 

callUncle - 


resizeTable

resizeTable(table,
            deck,
            unselectedBorderColor,
            numCards)
Parameters:
table - 

deck - 

unselectedBorderColor - 

numCards - 


restoreUncle

restoreUncle(backgroundOnly,
             delayed)
Parameters:
backgroundOnly - 

delayed - 


scoreString

scoreString()

selectCard

selectCard(card,
           nocall)
Parameters:
card - 

nocall - 


setActive

setActive(noUpdate)
Parameters:
noUpdate - 


setCardBorder

setCardBorder(card,
              selected)
Parameters:
card - 

selected - 


setCardUrl

static setCardUrl(url)
Parameters:
url - 


setIdle

setIdle()

shuffleDeck

shuffleDeck(deck)
Parameters:
deck - 


slideCards

slideCards()

tellWhyNotASet

tellWhyNotASet()

tempDisableUncle

tempDisableUncle()

twoAndOne

twoAndOne(card1,
          card2,
          card3,
          property)
Parameters:
card1 - 

card2 - 

card3 - 

property - 


uncle

uncle()

uncleSetShownTimeout

uncleSetShownTimeout()

unselectCard

unselectCard(card)
Parameters:
card - 


updateDeals

updateDeals(dealsRemaining)
Parameters:
dealsRemaining - 


updateFadingBorders

updateFadingBorders()

updateHeader

updateHeader()

updateMessage

updateMessage(message)
Parameters:
message - 


updateTable

updateTable(cards,
            weGetCredit,
            theyGotPointsToo)
Parameters:
cards - 

weGetCredit - 

theyGotPointsToo - 


updateTimerDisplay

updateTimerDisplay()

whyIsASet

whyIsASet(card1,
          card2,
          card3,
          interestedProperties)
Parameters:
card1 - 

card2 - 

card3 - 

interestedProperties - 


whyNotASet

whyNotASet(card1,
           card2,
           card3)
Parameters:
card1 - 

card2 - 

card3 - 


writeToPage

static writeToPage(resourcePack)
Parameters:
resourcePack -