Danbias/Code/Game/GameLogic/JumpPad.h

26 lines
682 B
C
Raw Normal View History

#ifndef JUMPPAD_H
#define JUMPPAD_H
#include "StaticObject.h"
namespace GameLogic
{
class JumpPad : public StaticObject
{
public:
JumpPad(void);
JumpPad(Oyster::Physics::ICustomBody *rigidBody
,Oyster::Physics::ICustomBody::SubscriptMessage (*collisionFuncAfter)(Oyster::Physics::ICustomBody *proto,Oyster::Physics::ICustomBody *deuter,Oyster::Math::Float kineticEnergyLoss)
2014-02-12 14:48:58 +01:00
,ObjectSpecialType type, Oyster::Math::Float3 pushForce);
~JumpPad(void);
static void JumpPadActivated(Oyster::Physics::ICustomBody *rigidBodyJumpPad, Oyster::Physics::ICustomBody *obj, Oyster::Math::Float kineticEnergyLoss);
private:
Oyster::Math::Float3 pushForce;
};
}
#endif