split worldObject into dynamic and static types

This commit is contained in:
Erik Persson 2013-11-20 14:25:37 +01:00
parent abf81b7c3c
commit 717b425147
6 changed files with 62 additions and 34 deletions

View File

@ -0,0 +1,11 @@
#include "DynamicObject.h"
DynamicObject::DynamicObject(void)
{
}
DynamicObject::~DynamicObject(void)
{
}

View File

@ -0,0 +1,20 @@
#ifndef DYNAMICOBJECT_H
#define DYNAMICOBJECT_H
#include "Object.h"
namespace GameLogic
{
class DynamicObject : public Object
{
public:
DynamicObject(void);
~DynamicObject(void);
};
}
#endif

View File

@ -0,0 +1,11 @@
#include "StaticObject.h"
StaticObject::StaticObject(void)
{
}
StaticObject::~StaticObject(void)
{
}

View File

@ -0,0 +1,20 @@
#ifndef STATICOBJECT_H
#define STATICOBJECT_H
#include "Object.h"
namespace GameLogic
{
class StaticObject : public Object
{
public:
StaticObject(void);
~StaticObject(void);
};
}
#endif

View File

@ -1,12 +0,0 @@
#include "WorldObject.h"
using namespace GameLogic;
WorldObject::WorldObject(void)
{
}
WorldObject::~WorldObject(void)
{
}

View File

@ -1,22 +0,0 @@
#ifndef WORLDOBJECT_H
#define WORLDOBJECT_H
#include "Object.h"
namespace GameLogic
{
class WorldObject : public Object
{
public:
WorldObject(void);
~WorldObject(void);
private:
};
}
#endif