2014-02-04 16:24:37 +01:00
|
|
|
#include "JumpPad.h"
|
|
|
|
#include "PhysicsAPI.h"
|
|
|
|
|
|
|
|
using namespace GameLogic;
|
|
|
|
using namespace Oyster::Physics;
|
|
|
|
|
|
|
|
JumpPad::JumpPad(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2014-02-12 15:03:40 +01:00
|
|
|
JumpPad::JumpPad(Oyster::Physics::ICustomBody *rigidBody, void (*collisionFuncAfter)(Oyster::Physics::ICustomBody *proto,Oyster::Physics::ICustomBody *deuter,Oyster::Math::Float kineticEnergyLoss), ObjectSpecialType type, Oyster::Math::Float3 pushForce)
|
2014-02-12 13:11:35 +01:00
|
|
|
:StaticObject(rigidBody, collisionFuncAfter, type)
|
2014-02-04 16:24:37 +01:00
|
|
|
{
|
2014-02-12 14:45:10 +01:00
|
|
|
this->pushForce = pushForce;
|
2014-02-04 16:24:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JumpPad::~JumpPad(void)
|
|
|
|
{
|
|
|
|
}
|