forked from BoomingTech/Piccolo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheditor.h
More file actions
32 lines (23 loc) · 639 Bytes
/
Copy patheditor.h
File metadata and controls
32 lines (23 loc) · 639 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#pragma once
#include "runtime/core/base/public_singleton.h"
#include "runtime/core/math/vector2.h"
#include <memory>
namespace Pilot
{
class EditorUI;
class PilotEngine;
class PilotEditor : public PublicSingleton<PilotEditor>
{
friend class EditorUI;
friend class PublicSingleton<PilotEditor>;
public:
virtual ~PilotEditor();
void initialize(PilotEngine* engine_runtime);
void clear();
void run();
protected:
PilotEditor();
std::shared_ptr<EditorUI> m_editor_ui;
PilotEngine* m_engine_runtime{ nullptr };
};
} // namespace Pilot