35 lines
587 B
C++
35 lines
587 B
C++
#ifndef OBJECT_H
|
|
#define OBJECT_H
|
|
|
|
#include "Model/Model.h"
|
|
#include "Render/Rendering/Render.h"
|
|
#include "Utilities.h"
|
|
|
|
#include "PhysicsAPI.h"
|
|
|
|
namespace GameLogic
|
|
{
|
|
|
|
class Object
|
|
{
|
|
|
|
public:
|
|
Object(void);
|
|
virtual ~Object(void);
|
|
|
|
Utility::DynamicMemory::UniquePointer<Oyster::Graphics::Render::Model> model;
|
|
void Render();
|
|
|
|
private:
|
|
|
|
protected:
|
|
//either a model pointer or an ID to an arraypos filled with models that are to be rendered
|
|
//rigidBody
|
|
unsigned int ref;
|
|
::Utility::DynamicMemory::UniquePointer<Oyster::Physics::ICustomBody> rigidBody;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif |