71 lines
671 B
C++
71 lines
671 B
C++
#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()
|
|
{
|
|
return PlayerData();
|
|
}
|
|
|
|
void Game::CreateTeam()
|
|
{
|
|
|
|
}
|
|
|
|
void Game::NewFrame()
|
|
{
|
|
|
|
} |