2013-11-19 11:07:14 +01:00
|
|
|
#include "Level.h"
|
2013-12-05 11:50:39 +01:00
|
|
|
#include "StaticObject.h"
|
|
|
|
#include "DynamicObject.h"
|
|
|
|
#include "GameMode.h"
|
2013-12-13 11:06:03 +01:00
|
|
|
#include "Player.h"
|
2013-11-19 11:07:14 +01:00
|
|
|
|
|
|
|
using namespace GameLogic;
|
|
|
|
|
2013-12-05 11:50:39 +01:00
|
|
|
struct Level::PrivateData
|
|
|
|
{
|
|
|
|
PrivateData()
|
|
|
|
{
|
2013-12-12 09:36:14 +01:00
|
|
|
|
2013-12-05 11:50:39 +01:00
|
|
|
}
|
|
|
|
~PrivateData()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2013-12-13 11:06:03 +01:00
|
|
|
Player *players;
|
|
|
|
int nrOfPlayers;
|
2013-12-05 11:50:39 +01:00
|
|
|
|
|
|
|
StaticObject** staticObjects;
|
|
|
|
int nrOfStaticObjects;
|
|
|
|
|
|
|
|
DynamicObject** dynamicObjects;
|
|
|
|
int nrOfDynamicObjects;
|
|
|
|
|
|
|
|
GameMode* gameMode;
|
|
|
|
|
|
|
|
}myData;
|
|
|
|
|
2013-11-19 11:07:14 +01:00
|
|
|
Level::Level(void)
|
|
|
|
{
|
2013-12-05 11:50:39 +01:00
|
|
|
myData = new PrivateData();
|
2013-11-19 11:07:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Level::~Level(void)
|
|
|
|
{
|
2013-12-05 11:50:39 +01:00
|
|
|
delete myData;
|
2013-11-19 11:07:14 +01:00
|
|
|
}
|
2013-12-12 09:36:14 +01:00
|
|
|
|
2013-12-13 11:06:03 +01:00
|
|
|
void Level::InitiateLevel(std::string levelPath)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2013-12-12 09:36:14 +01:00
|
|
|
|