Enigma
3.2.0
A Simple, Reliable and Efficient Encryption Tool
Tool.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <
Core/Core.hpp
>
3
#include <
Scenes/Scene.hpp
>
4
#include <imgui.h>
5
9
NS_ENIGMA_BEGIN
10
class
Tool
{
11
public
:
12
Tool
() =
default
;
13
virtual
~Tool
() =
default
;
14
15
public
:
// Tool life cycle
17
virtual
void
OnCreate
() = 0;
21
virtual
void
OnDraw
(
Scene
*parent) = 0;
23
virtual
void
OnDestroy
() = 0;
24
};
25
NS_ENIGMA_END
Core.hpp
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
Scene.hpp
Scene
Definition:
Scene.hpp:20
Tool
Definition:
Tool.hpp:10
Tool::OnDestroy
virtual void OnDestroy()=0
Tool::OnDraw
virtual void OnDraw(Scene *parent)=0
Tool::Tool
Tool()=default
Tool::OnCreate
virtual void OnCreate()=0
Tool::~Tool
virtual ~Tool()=default
src
Scenes
ToolsScene
Tool.hpp
Generated on Sat Oct 19 2024 20:10:46 for Enigma by
1.9.1