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 
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 };
#define NS_ENIGMA_BEGIN
Enable/Disable Assertions.
Definition: Macros.hpp:13
#define NS_ENIGMA_END
Definition: Macros.hpp:14
Definition: Scene.hpp:20
Definition: Tool.hpp:10
virtual void OnDestroy()=0
virtual void OnDraw(Scene *parent)=0
Tool()=default
virtual void OnCreate()=0
virtual ~Tool()=default