2015-04-16 16:55:32 +00:00
|
|
|
#ifndef EMPTY_EXAMPLE_H
|
|
|
|
#define EMPTY_EXAMPLE_H
|
|
|
|
|
2015-04-29 20:33:26 +00:00
|
|
|
#include "../CommonInterfaces/CommonExampleInterface.h"
|
2015-04-16 16:55:32 +00:00
|
|
|
|
2015-04-29 20:33:26 +00:00
|
|
|
class EmptyExample : public CommonExampleInterface
|
2015-04-16 16:55:32 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
EmptyExample() {}
|
2018-09-23 21:17:31 +00:00
|
|
|
virtual ~EmptyExample() {}
|
2015-04-16 16:55:32 +00:00
|
|
|
|
2015-05-01 18:42:14 +00:00
|
|
|
static CommonExampleInterface* CreateFunc(struct CommonExampleOptions& /* unusedOptions*/)
|
2015-04-16 16:55:32 +00:00
|
|
|
{
|
|
|
|
return new EmptyExample;
|
|
|
|
}
|
|
|
|
|
2018-09-23 21:17:31 +00: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; }
|
2015-04-16 16:55:32 +00:00
|
|
|
};
|
|
|
|
|
2018-09-23 21:17:31 +00:00
|
|
|
#endif //EMPTY_EXAMPLE_H
|