Class Player

Description

Class Player.

Player implements a player in the game.

Located in /Player.php (line 21)


	
			
Variable Summary
string $civ
int $civId
int $colorId
bool $human
int $index
bool $isCooping
string $name
bool $owner
array $researches
int $team
Method Summary
Player __construct ()
Variables
int $castleTime (line 98)

Player's castle time (in ms).

  • access: public
string $civ (line 63)

Player's civilization.

  • access: public
int $civId (line 70)

Id of player's civilization.

  • access: public
int $colorId (line 77)

Id of player's color.

  • access: public
int $feudalTime (line 91)

Player's feudal time (in ms, 0 if hasn't been reached).

  • access: public
bool $human (line 42)

Defines if the player is a human.

  • access: public
int $imperialTime (line 105)

Player's imperial time (in ms).

  • access: public
int $index (line 35)

Player's index.

  • access: public
bool $isCooping (line 84)

Indicates if the player is cooping in the game.

  • var: true if player coops, otherwise false
  • access: public
string $name (line 28)

Player's name.

  • access: public
bool $owner (line 56)

Defines if player is an owner of the game.

  • access: public
array $researches (line 120)

An array of player's researches.

An associative array containing "research id - time of research" pairs.

  • access: public
int $resignTime (line 112)

Player's resign time (in ms) or 0 if player hasn't been resigned.

  • access: public
int $team (line 49)

Defines player's team index (0 = no team has been set).

  • access: public
Methods
Constructor __construct (line 126)

Constructor.

  • access: public
Player __construct ()

Documentation generated on Mon, 11 May 2009 16:43:37 +0200 by phpDocumentor 1.4.1