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-14 09:53:02 +01:00
|
|
|
JumpPad::JumpPad(Oyster::Physics::ICustomBody *rigidBody, ObjectSpecialType type,int objectID ,Oyster::Math::Float3 pushForce)
|
|
|
|
:StaticObject(rigidBody, JumpPad::JumpPadActivated, type, objectID)
|
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)
|
|
|
|
{
|
|
|
|
}
|