This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/share/CodeBlocks/templates/wizard/lf/files/structured/CMain.h

24 lines
520 B
C++

#include <lf/Lightfeather.h>
class CMain : public lf::input::IKeyListener
{
public:
CMain(lf::render::IRenderWindow* win);
~CMain();
void run();
void setupScene();
void keyPressed(lf::input::CKeyEvent& event);
private:
lf::render::IRenderWindow* rwin;
lf::render::CRenderLayer3D* rl3d;
lf::scene::CSceneManager* smgr;
lf::scene::C3DCamera *cam;
lf::scene::CSceneNodeController *camController;
bool quitNow;
};