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 STATICOBJECT_H
|
|
|
|
#define STATICOBJECT_H
|
|
|
|
|
|
|
|
#include "Object.h"
|
|
|
|
|
2014-02-12 14:48:58 +01:00
|
|
|
|
2013-11-20 14:25:37 +01:00
|
|
|
namespace GameLogic
|
|
|
|
{
|
|
|
|
|
2013-12-12 09:36:14 +01:00
|
|
|
class StaticObject : public Object
|
2013-11-20 14:25:37 +01:00
|
|
|
{
|
|
|
|
|
|
|
|
public:
|
2013-12-05 11:50:39 +01:00
|
|
|
StaticObject();
|
2014-01-29 14:33:21 +01:00
|
|
|
|
2014-02-14 09:53:02 +01:00
|
|
|
StaticObject(Oyster::Physics::ICustomBody *rigidBody , void (*EventOnCollision)(Oyster::Physics::ICustomBody *proto,Oyster::Physics::ICustomBody *deuter,Oyster::Math::Float kineticEnergyLoss), ObjectSpecialType type, int objectID);
|
|
|
|
StaticObject(Oyster::Physics::ICustomBody *rigidBody , Oyster::Physics::ICustomBody::SubscriptMessage (*EventOnCollision)(Oyster::Physics::ICustomBody *proto,Oyster::Physics::ICustomBody *deuter,Oyster::Math::Float kineticEnergyLoss), ObjectSpecialType type, int objectID);
|
2014-02-12 14:48:58 +01:00
|
|
|
|
2014-02-14 11:16:02 +01:00
|
|
|
StaticObject(Oyster::Physics::ICustomBody *rigidBody , void (*EventOnCollision)(Oyster::Physics::ICustomBody *proto,Oyster::Physics::ICustomBody *deuter,Oyster::Math::Float kineticEnergyLoss), ObjectSpecialType type, int objectID, Oyster::Math::Float extraDamageOnCollision);
|
|
|
|
StaticObject(Oyster::Physics::ICustomBody *rigidBody , Oyster::Physics::ICustomBody::SubscriptMessage (*EventOnCollision)(Oyster::Physics::ICustomBody *proto,Oyster::Physics::ICustomBody *deuter,Oyster::Math::Float kineticEnergyLoss), ObjectSpecialType type, int objectID, Oyster::Math::Float extraDamageOnCollision);
|
|
|
|
|
2013-11-20 14:25:37 +01:00
|
|
|
~StaticObject(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
|