Danbias/Code/Game/GameLogic/Team.h

36 lines
825 B
C
Raw Normal View History

//////////////////////////////////////////////////
//Created by Erik of the GameLogic team
//////////////////////////////////////////////////
#ifndef TEAM_H
#define TEAM_H
namespace GameLogic
{
class Team
{
public:
Team(void);
Team(int teamSize);
~Team(void);
/********************************************************
* Gets a player in the team
* @param playerID: Arrayposition of the player you want to get
********************************************************/
Player* GetPlayer(int playerID);
/********************************************************
* Adds a player to the team
* @param player: Player that are to be added
********************************************************/
bool AddPlayer(Player *player);
private:
struct PrivateData;
PrivateData *myData;
};
}
#endif