Danbias/Code/GameLogic/Object.h

49 lines
759 B
C
Raw Normal View History

2013-11-28 08:33:29 +01:00
//////////////////////////////////////////////////
//Created by Erik and Linda of the GameLogic team
//////////////////////////////////////////////////
2013-11-19 18:35:35 +01:00
#ifndef OBJECT_H
#define OBJECT_H
#include "PhysicsAPI.h"
#include "DllInterfaces/GFXAPI.h"
2013-11-21 12:05:39 +01:00
#include "Model/Model.h"
#include "Utilities.h"
2013-11-25 11:03:06 +01:00
2013-11-19 18:35:35 +01:00
namespace GameLogic
{
class Object
{
public:
Object(void);
2013-11-21 12:05:39 +01:00
virtual ~Object(void);
2013-11-26 11:30:49 +01:00
enum OBJECT_TYPE
{
OBJECT_TYPE_PLAYER,
OBJECT_TYPE_BOX,
};
void Render();
2013-11-19 18:35:35 +01:00
2013-11-26 11:30:49 +01:00
OBJECT_TYPE GetType();
2013-11-19 18:35:35 +01:00
private:
2013-11-26 11:30:49 +01:00
OBJECT_TYPE type;
2013-11-19 18:35:35 +01:00
protected:
2013-11-20 12:23:45 +01:00
//either a model pointer or an ID to an arraypos filled with models that are to be rendered
2013-11-19 18:35:35 +01:00
//rigidBody
Oyster::Physics::ICustomBody *rigidBody;
Oyster::Graphics::Model::Model *model;
2013-11-28 08:41:20 +01:00
2013-11-19 18:35:35 +01:00
};
}
#endif