Advanced Strategic Command
Public Member Functions | List of all members
PlayerID Class Reference

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

#include <player.h>

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 40 of file player.h.

Constructor & Destructor Documentation

PlayerID::PlayerID ( int  num)
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 ContainerBase c)
inline

Definition at line 45 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 47 of file player.h.

Member Function Documentation

int PlayerID::getID ( ) const
inline

The documentation for this class was generated from the following files: