File: Games\GamesByEmail.js

GamesByEmail
Class GameNotify

Object
  
 
 
GamesByEmail.GameNotify

All Implemented Interfaces:

Class


GamesByEmail.GameNotify

implements Foundation.Class

The notification flag structure of GamesByEmail.Game.notify. Set appropriate flags for events in the game and players who have suscribed to those events will get notified.


Constructor Summary
GamesByEmail.GameNotify()

Constant Summary
static  RESIGNED
//SWITCH :0x100, /** @ignore

Field Summary
Booleandraw
The game was a draw.
BooleandrawAccepted
A draw was accepted.
BooleandrawDeclined
A draw was declined.
BooleandrawOffered
A draw was offered.
Booleanelimination
A player was eliminated.
Booleanended
The game has ended.
Booleanplay
I turn was made.
Booleanresigned
A player resigned.
Booleanturn
A turn completed.
Booleanwinner
There is a winner.

Method Summary
voidclear()
Sets all flags to false.
 dispose()

Methods inherited from Foundation.Class
getTypePath, isInstanceOf

Constructor Detail

GameNotify

GamesByEmail.GameNotify()

Constant Detail

RESIGNED

static RESIGNED

//SWITCH :0x100, /** @ignore

Field Detail

draw

Boolean draw

The game was a draw.


drawAccepted

Boolean drawAccepted

A draw was accepted.


drawDeclined

Boolean drawDeclined

A draw was declined.


drawOffered

Boolean drawOffered

A draw was offered.


elimination

Boolean elimination

A player was eliminated.


ended

Boolean ended

The game has ended.


play

Boolean play

I turn was made.


resigned

Boolean resigned

A player resigned.


turn

Boolean turn

A turn completed.


winner

Boolean winner

There is a winner.

Method Detail

clear

void clear()

Sets all flags to false.


dispose

dispose()
Overrides:
dispose in class Class