2014-01-10 12:33:04 +01:00
|
|
|
#include "Game.h"
|
|
|
|
#include "Player.h"
|
|
|
|
#include "Level.h"
|
|
|
|
|
|
|
|
using namespace GameLogic;
|
|
|
|
|
|
|
|
struct Game::PrivateData
|
|
|
|
{
|
|
|
|
PrivateData()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
~PrivateData()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
Player **players;
|
|
|
|
Level *level;
|
|
|
|
|
|
|
|
}myData;
|
|
|
|
|
|
|
|
|
|
|
|
Game::Game(void)
|
|
|
|
{
|
|
|
|
myData = new PrivateData();
|
|
|
|
}
|
|
|
|
|
|
|
|
Game::~Game(void)
|
|
|
|
{
|
|
|
|
if(myData)
|
|
|
|
{
|
|
|
|
delete myData;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void Game::MovePlayer(int playerID, const PLAYER_MOVEMENT &movement)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void Game::PlayerUseWeapon(int playerID, const WEAPON_FIRE &Usage)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void Game::GetPlayerPos(int playerID)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void Game::GetAllPlayerPos()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
Game::PlayerData Game::CreatePlayer()
|
|
|
|
{
|
2014-01-13 12:11:45 +01:00
|
|
|
return PlayerData();
|
2014-01-10 12:33:04 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void Game::CreateTeam()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void Game::NewFrame()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|