Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

PlayerID Class Reference

convenience-class which automatically determines the Player of units, buildings and other game objects More...

#include <player.h>

List of all members.

Public Member Functions

 PlayerID (int num)
 PlayerID (const ContainerBase *c)
 PlayerID (const ContainerBase &c)
 PlayerID (const Player &p)
 PlayerID (const PlayerID &p)
int getID () const


Detailed Description

convenience-class which automatically determines the Player of units, buildings and other game objects

Definition at line 39 of file player.h.


Constructor & Destructor Documentation

PlayerID::PlayerID int  num  )  [inline]
 

Definition at line 42 of file player.h.

PlayerID::PlayerID const ContainerBase c  )  [inline]
 

Definition at line 43 of file player.h.

PlayerID::PlayerID const ContainerBase c  )  [inline]
 

Definition at line 44 of file player.h.

PlayerID::PlayerID const Player p  ) 
 

Definition at line 33 of file player.cpp.

PlayerID::PlayerID const PlayerID p  )  [inline]
 

Definition at line 46 of file player.h.


Member Function Documentation

int PlayerID::getID  )  const [inline]
 

Definition at line 47 of file player.h.

Referenced by GameMap::getPlayer(), DiplomaticStateVector::isAllied(), DiplomaticStateVector::isHostile(), and DiplomaticStateVector::sharesView().


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:19:48 2008 for Advanced Strategic Command by  doxygen 1.4.2