31 lines
758 B
C++
31 lines
758 B
C++
//////////////////////////////////////////////////
|
|
//Created by Erik and Linda of the GameLogic team
|
|
//////////////////////////////////////////////////
|
|
|
|
|
|
#ifndef STATICOBJECT_H
|
|
#define STATICOBJECT_H
|
|
|
|
#include "Object.h"
|
|
|
|
namespace GameLogic
|
|
{
|
|
|
|
class StaticObject : public Object
|
|
{
|
|
|
|
public:
|
|
StaticObject();
|
|
StaticObject(void* collisionFunc, OBJECT_TYPE type);
|
|
//StaticObject(Oyster::Physics::ICustomBody *rigidBody,void* collisionFunc, OBJECT_TYPE type);
|
|
StaticObject(Oyster::Physics::ICustomBody *rigidBody ,void (*collisionFunc)(Oyster::Physics::ICustomBody *proto,Oyster::Physics::ICustomBody *deuter,Oyster::Math::Float kineticEnergyLoss), OBJECT_TYPE type);
|
|
StaticObject(OBJECT_TYPE type);
|
|
~StaticObject(void);
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif |