1
0
mirror of https://github.com/Relintai/sfw.git synced 2025-03-18 15:46:23 +01:00
sfw/tools/merger/test_app/game_application.h

22 lines
338 B
C
Raw Normal View History

#ifndef GAME_APPLICATION_H
#define GAME_APPLICATION_H
#include "sfw.h"
#include "game_scene.h"
class GameApplication : public Application {
SFW_OBJECT(GameApplication, Application);
public:
GameApplication() {
scene = Ref<Scene>(memnew(GameScene()));
}
~GameApplication() {
scene.unref();
}
};
#endif // GAME_APPLICATION_H