2015-04-16 16:55:32 +00:00
|
|
|
#ifndef EMPTY_BROWSER
|
|
|
|
#define EMPTY_BROWSER
|
|
|
|
|
|
|
|
#include "ExampleBrowserInterface.h"
|
|
|
|
#include "EmptyExample.h"
|
|
|
|
|
|
|
|
class EmptyBrowser : public ExampleBrowserInterface
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
EmptyExample m_emptyExample;
|
|
|
|
|
2015-04-29 20:33:26 +00:00
|
|
|
virtual CommonExampleInterface* getCurrentExample()
|
2015-04-16 16:55:32 +00:00
|
|
|
{
|
|
|
|
return &m_emptyExample;
|
|
|
|
}
|
|
|
|
|
|
|
|
EmptyBrowser(class ExampleEntries* examples)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual bool init(int /*argc*/, char* argv[])
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual void update(float deltaTime)
|
|
|
|
{
|
|
|
|
m_emptyExample.stepSimulation(deltaTime);
|
|
|
|
}
|
|
|
|
|
2020-02-14 10:23:28 +00:00
|
|
|
virtual void updateGraphics()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2015-04-16 16:55:32 +00:00
|
|
|
virtual bool requestedExit()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
2020-02-14 10:23:28 +00:00
|
|
|
|
|
|
|
virtual void setSharedMemoryInterface(class SharedMemoryInterface* sharedMem)
|
|
|
|
{
|
|
|
|
}
|
2015-04-16 16:55:32 +00:00
|
|
|
};
|
|
|
|
|
2018-09-23 21:17:31 +00:00
|
|
|
#endif //EMPTY_BROWSER
|