MQEngine
载入中...
搜索中...
未找到
enginescope.h
浏览该文件的文档.
1
5#ifndef ENGINESCOPE_H
6#define ENGINESCOPE_H
7#include "./engine.h"
8namespace MQEngine {
9 class EngineScope {
10 public:
11 EngineScope(Application* application){
13 m_engine.init(application);
14 }
16 m_engine.term();
17 Engine::s_instance = nullptr;
18 }
19 private:
21 };
22}
23#endif //ENGINESCOPE_H
定义 application.h:33
定义 engine.h:19
static Engine * s_instance
定义 engine.h:39
EngineScope(Application *application)
定义 enginescope.h:11
Engine m_engine
定义 enginescope.h:20
~EngineScope()
定义 enginescope.h:15
定义 application.h:3