2018-11-05 18:08:52 +01:00
|
|
|
#include "FireUnit.hpp"
|
2018-11-05 13:05:08 +01:00
|
|
|
|
2018-11-19 01:07:50 +01:00
|
|
|
//! Main app class
|
2018-11-05 13:05:08 +01:00
|
|
|
class FlaSimApp : public irr::IEventReceiver
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
FlaSimApp();
|
|
|
|
~FlaSimApp();
|
|
|
|
|
|
|
|
void execute();
|
|
|
|
|
|
|
|
bool OnEvent(const irr::SEvent& e);
|
|
|
|
|
|
|
|
private:
|
2018-11-05 18:08:52 +01:00
|
|
|
void drawScreenSpace();
|
|
|
|
|
2018-11-05 13:05:08 +01:00
|
|
|
irr::IrrlichtDevice *dev;
|
|
|
|
irr::scene::ISceneManager *sman;
|
|
|
|
irr::video::IVideoDriver *drv;
|
|
|
|
irr::gui::IGUIEnvironment *gui;
|
2018-11-05 18:08:52 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FireUnit fireUnit;
|
2018-11-05 13:05:08 +01:00
|
|
|
};
|