2022-05-13 23:42:41 -04:00
|
|
|
#ifndef EMPTY_EXAMPLE_H
|
|
|
|
|
#define EMPTY_EXAMPLE_H
|
|
|
|
|
|
|
|
|
|
#include "../CommonInterfaces/CommonExampleInterface.h"
|
|
|
|
|
|
|
|
|
|
class EmptyExample : public CommonExampleInterface
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
EmptyExample() {}
|
2026-06-03 15:08:51 +01:00
|
|
|
virtual ~EmptyExample() {}
|
2022-05-13 23:42:41 -04:00
|
|
|
|
|
|
|
|
static CommonExampleInterface* CreateFunc(struct CommonExampleOptions& /* unusedOptions*/)
|
|
|
|
|
{
|
|
|
|
|
return new EmptyExample;
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-03 15:08:51 +01:00
|
|
|
virtual void initPhysics() {}
|
|
|
|
|
virtual void exitPhysics() {}
|
|
|
|
|
virtual void stepSimulation(float deltaTime) {}
|
|
|
|
|
virtual void renderScene() {}
|
|
|
|
|
virtual void physicsDebugDraw(int debugFlags) {}
|
|
|
|
|
virtual bool mouseMoveCallback(float x, float y) { return false; }
|
|
|
|
|
virtual bool mouseButtonCallback(int button, int state, float x, float y) { return false; }
|
|
|
|
|
virtual bool keyboardCallback(int key, int state) { return false; }
|
2022-05-13 23:42:41 -04:00
|
|
|
};
|
|
|
|
|
|
2026-06-03 15:08:51 +01:00
|
|
|
#endif //EMPTY_EXAMPLE_H
|