Games\GamesByEmail.js
GamesByEmail
Object
All Implemented Interfaces:
GamesByEmail.Player
implementsFoundation.Class
Information about a player.
Constructor Summary |
|
Field Summary | |
| game
The game object this player belongs to.
|
| id
The unique ID for this player, or 0 if the current user is not this player.
|
| index
The index of this player in the parent collection.
|
| info
Game specific player preferences.
|
| isUs
If the current user is a direct player on this team.
|
| message
Private notes for this player.
|
| team
The parent team object this player belongs to.
|
| title
The title of this player.
|
Method Summary | |
|
|
|
Determines if it is this player's team's turn.
|
|
Finds the player on the next team.
|
Methods inherited from Foundation.Class |
getTypePath , isInstanceOf |
Constructor Detail |
GamesByEmail.Player()
Field Detail |
Game
game
The game object this player belongs to.
Number
id
The unique ID for this player, or 0 if the current user is not this player.
Number
index
The index of this player in the parent collection.
Info
info
Game specific player preferences.
Boolean
isUs
If the current user is a direct player on this team.
String
message
Private notes for this player.
Team
team
The parent team object this player belongs to.
String
title
The title of this player.
Method Detail |
dispose()
dispose
in class Class
Boolean
isMyTurn()
Determines if it is this player's team's turn.
Returns:
Player
nextOpponent()
Finds the player on the next team.
Returns: