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"
|
2013-12-12 09:36:14 +01:00
|
|
|
#include "GameLogicStates.h"
|
2013-12-14 22:04:42 +01:00
|
|
|
#include "GameLogicDef.h"
|
2013-12-12 12:16:13 +01:00
|
|
|
|
2013-11-28 09:26:29 +01:00
|
|
|
|
2013-11-19 18:35:35 +01:00
|
|
|
namespace GameLogic
|
|
|
|
{
|
2013-12-14 22:04:42 +01:00
|
|
|
class DANBIAS_GAMELOGIC_DLL Object
|
2013-11-19 18:35:35 +01:00
|
|
|
{
|
2013-11-29 09:23:00 +01:00
|
|
|
public:
|
2013-12-12 09:36:14 +01:00
|
|
|
Object();
|
|
|
|
Object(void* collisionFunc, OBJECT_TYPE type);
|
|
|
|
~Object(void);
|
2013-11-19 18:35:35 +01:00
|
|
|
|
2013-11-26 11:30:49 +01:00
|
|
|
OBJECT_TYPE GetType();
|
|
|
|
|
2013-12-12 12:16:13 +01:00
|
|
|
Oyster::Physics::ICustomBody* GetRigidBody();
|
|
|
|
|
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-28 09:26:29 +01:00
|
|
|
Oyster::Physics::ICustomBody *rigidBody;
|
2013-11-19 18:35:35 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|