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
|
|
|
|
|
2013-11-27 16:17:47 +01:00
|
|
|
#include "PhysicsAPI.h"
|
|
|
|
#include "DllInterfaces/GFXAPI.h"
|
|
|
|
|
2013-11-21 12:05:39 +01:00
|
|
|
#include "Model/Model.h"
|
|
|
|
#include "Utilities.h"
|
2013-11-27 16:17:47 +01:00
|
|
|
|
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,
|
|
|
|
};
|
2013-11-26 09:19:59 +01:00
|
|
|
|
2013-11-28 08:37:56 +01:00
|
|
|
<<<<<<< HEAD
|
2013-11-21 12:05:39 +01:00
|
|
|
void Render();
|
2013-11-28 08:33:29 +01:00
|
|
|
void Update();
|
2013-11-28 08:37:56 +01:00
|
|
|
=======
|
2013-11-27 16:17:47 +01:00
|
|
|
Oyster::Graphics::Model::Model* Render();
|
2013-11-28 08:37:56 +01:00
|
|
|
>>>>>>> 01515a4d2d309cfebf4e3dab3ad68787f93050e1
|
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
|
|
|
|
|
2013-11-28 08:37:56 +01:00
|
|
|
<<<<<<< HEAD
|
2013-11-26 09:19:59 +01:00
|
|
|
Utility::DynamicMemory::UniquePointer<Oyster::Physics::ICustomBody> rigidBody;
|
2013-11-28 08:33:29 +01:00
|
|
|
Utility::DynamicMemory::UniquePointer<Oyster::Graphics::Model::Model> model;
|
2013-11-28 08:37:56 +01:00
|
|
|
=======
|
2013-11-27 16:17:47 +01:00
|
|
|
Oyster::Physics::ICustomBody* rigidBody;
|
|
|
|
Oyster::Graphics::Model::Model* model;
|
2013-11-28 08:37:56 +01:00
|
|
|
>>>>>>> 01515a4d2d309cfebf4e3dab3ad68787f93050e1
|
2013-11-19 18:35:35 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|