2013-11-28 08:33:29 +01:00
|
|
|
//////////////////////////////////////////////////
|
|
|
|
//Created by Erik and Linda of the GameLogic team
|
|
|
|
//////////////////////////////////////////////////
|
2013-11-20 14:25:37 +01:00
|
|
|
#ifndef DYNAMICOBJECT_H
|
|
|
|
#define DYNAMICOBJECT_H
|
2013-12-19 10:21:03 +01:00
|
|
|
#include "GameLogicDef.h"
|
2013-12-20 08:59:46 +01:00
|
|
|
#include "Object.h"
|
|
|
|
|
2013-11-20 14:25:37 +01:00
|
|
|
|
|
|
|
namespace GameLogic
|
|
|
|
{
|
2014-01-14 09:25:22 +01:00
|
|
|
class DynamicObject : public Object
|
2013-11-20 14:25:37 +01:00
|
|
|
{
|
|
|
|
|
|
|
|
public:
|
2013-12-05 11:50:39 +01:00
|
|
|
DynamicObject();
|
2014-01-29 14:33:21 +01:00
|
|
|
DynamicObject(OBJECT_TYPE type);
|
|
|
|
DynamicObject(Oyster::Physics::ICustomBody *rigidBody, OBJECT_TYPE type);
|
|
|
|
DynamicObject(void* collisionFuncBefore, void* collisionFuncAfter, OBJECT_TYPE type);
|
|
|
|
DynamicObject(Oyster::Physics::ICustomBody *rigidBody ,void* collisionFuncBefore, void* collisionFuncAfter, OBJECT_TYPE type);
|
|
|
|
DynamicObject(Oyster::Physics::ICustomBody *rigidBody ,Oyster::Physics::ICustomBody::SubscriptMessage (*collisionFuncBefore)(Oyster::Physics::ICustomBody *proto,Oyster::Physics::ICustomBody *deuter), Oyster::Physics::ICustomBody::SubscriptMessage (*collisionFuncAfter)(Oyster::Physics::ICustomBody *proto,Oyster::Physics::ICustomBody *deuter,Oyster::Math::Float kineticEnergyLoss), OBJECT_TYPE type);
|
|
|
|
|
2013-11-20 14:25:37 +01:00
|
|
|
~DynamicObject(void);
|
|
|
|
|
2013-12-05 11:50:39 +01:00
|
|
|
private:
|
2013-12-12 09:36:14 +01:00
|
|
|
|
2013-11-20 14:25:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|