Danbias/Code/Game/GameLogic/JumpPad.cpp

22 lines
507 B
C++
Raw Normal View History

#include "JumpPad.h"
#include "PhysicsAPI.h"
using namespace GameLogic;
using namespace Oyster::Physics;
JumpPad::JumpPad(void)
{
}
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)
:StaticObject(rigidBody, collisionFuncAfter, type)
{
2014-02-12 14:45:10 +01:00
this->pushForce = pushForce;
}
JumpPad::~JumpPad(void)
{
}