2014-01-16 12:08:24 +01:00
|
|
|
#include "Game.h"
|
|
|
|
#include "Level.h"
|
|
|
|
|
|
|
|
using namespace GameLogic;
|
|
|
|
|
|
|
|
Game::LevelData::LevelData()
|
|
|
|
{
|
2014-01-20 15:47:52 +01:00
|
|
|
this->level = new Level();
|
2014-01-16 12:08:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
Game::LevelData::~LevelData()
|
|
|
|
{
|
2014-01-20 15:47:52 +01:00
|
|
|
delete this->level;
|
|
|
|
this->level = 0;
|
|
|
|
}
|
|
|
|
|
2014-01-16 12:08:24 +01:00
|
|
|
|
2014-01-20 15:47:52 +01:00
|
|
|
Oyster::Math::Float3 Game::LevelData::GetPosition()
|
|
|
|
{
|
|
|
|
//return this->level->GetCenter();
|
|
|
|
return Oyster::Math::Float3();
|
|
|
|
}
|
|
|
|
Oyster::Math::Float4x4 Game::LevelData::GetOrientation()
|
|
|
|
{
|
|
|
|
//return this->level->GetOrientation();
|
|
|
|
return Oyster::Math::Float4x4();
|
|
|
|
}
|
|
|
|
int Game::LevelData::GetID() const
|
|
|
|
{
|
|
|
|
//this->level->GetID();
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
OBJECT_TYPE Game::LevelData::GetObjectType() const
|
|
|
|
{
|
|
|
|
//return this->level->GetType();
|
|
|
|
return OBJECT_TYPE_UNKNOWN;
|
|
|
|
}
|