4 #include <entt/entity/registry.hpp> 5 #include "imgui_entt_entity_editor.hpp" 27 virtual void Draw(entt::registry& t_Reg,
float DeltaTime);
The BaseEditor of the Fling Engine.
Definition: BaseEditor.h:13
bool m_DisplayWindowOptions
Definition: BaseEditor.h:44
virtual ~BaseEditor()=default
bool m_DisplayComponentEditor
Definition: BaseEditor.h:42
class Game * m_Game
Definition: BaseEditor.h:60
Core engine class of Fling.
Definition: Engine.h:35
The game class is mean to be overridden on a per-game instance.
Definition: Game.h:16
The world holds all active levels in the game.
Definition: World.h:21
MM::ImGuiEntityEditor< entt::registry > m_ComponentEditor
Definition: BaseEditor.h:48
virtual void Draw(entt::registry &t_Reg, float DeltaTime)
Draws the editor via IMGUI.
bool m_DisplayWorldOutline
Definition: BaseEditor.h:43
float m_FrameTimeMax
Definition: BaseEditor.h:39
virtual void OnLoadLevel(std::string t_FileName)
void DrawWorldOutline(entt::registry &t_Reg)
class World * m_OwningWorld
Definition: BaseEditor.h:58
entt::entity m_CompEditorEntityType
Component editor so that we can draw our component window.
Definition: BaseEditor.h:47
bool m_DisplayGPUInfo
Definition: BaseEditor.h:41
float m_FrameTimeMin
Definition: BaseEditor.h:38
virtual void OnSaveLevel(std::string t_FileName)
std::array< float, 400 > fpsGraph
Definition: BaseEditor.h:37
virtual void RegisterComponents(entt::registry &t_Reg)
Register.
virtual void DrawFileMenu()