Enigma
3.2.0
A Simple, Reliable and Efficient Encryption Tool
ToolsScene.hpp
Go to the documentation of this file.
1
#pragma once
2
#include "../Scene.hpp"
3
#include "
Tool.hpp
"
4
5
NS_ENIGMA_BEGIN
6
7
class
ToolsScene
:
public
Enigma::Scene {
8
public
:
/* Constructors / Destructor */
9
ToolsScene
() noexcept;
10
virtual ~
ToolsScene
() noexcept = default;
11
12
private:
/* Overrides */
13
void
OnCreate() override;
14
[[maybe_unused]]
void
OnUpdate(const
float
&) override;
15
void
OnDraw() override;
16
void
OnImGuiDraw() override;
17
[[maybe_unused]]
void
OnEvent(
Event
&) override;
18
void
OnDestroy() override;
19
20
private:
21
std::vector<std::unique_ptr<
Tool
>> m_tools{};
// Polymorphic tool classes which draws collapsing header view of their context
22
};
23
24
NS_ENIGMA_END
NS_ENIGMA_BEGIN
#define NS_ENIGMA_BEGIN
Enable/Disable Assertions.
Definition:
Macros.hpp:13
NS_ENIGMA_END
#define NS_ENIGMA_END
Definition:
Macros.hpp:14
Tool.hpp
Event
Definition:
Event.hpp:66
Tool
Definition:
Tool.hpp:10
ToolsScene
Definition:
ToolsScene.hpp:7
ToolsScene::ToolsScene
ToolsScene() noexcept
src
Scenes
ToolsScene
ToolsScene.hpp
Generated on Sat Oct 19 2024 20:10:46 for Enigma by
1.9.1