2014-02-04 16:24:37 +01:00
|
|
|
#ifndef JUMPPAD_H
|
|
|
|
#define JUMPPAD_H
|
|
|
|
#include "StaticObject.h"
|
|
|
|
namespace GameLogic
|
|
|
|
{
|
|
|
|
class JumpPad : public StaticObject
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
JumpPad(void);
|
|
|
|
|
2014-02-14 09:53:02 +01:00
|
|
|
JumpPad(Oyster::Physics::ICustomBody *rigidBody
|
|
|
|
,ObjectSpecialType type, int objectID,Oyster::Math::Float3 pushForce);
|
2014-02-12 15:03:40 +01:00
|
|
|
|
2014-02-04 16:24:37 +01:00
|
|
|
|
|
|
|
~JumpPad(void);
|
|
|
|
|
|
|
|
static void JumpPadActivated(Oyster::Physics::ICustomBody *rigidBodyJumpPad, Oyster::Physics::ICustomBody *obj, Oyster::Math::Float kineticEnergyLoss);
|
|
|
|
|
|
|
|
private:
|
|
|
|
Oyster::Math::Float3 pushForce;
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|