Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
ComponentCommands.hpp
1#pragma once
2
3#include "CommandList.hpp"
4#include "EngineCore/ECS/Entity.hpp"
5
6namespace Grindstone {
7 namespace Editor {
9 public:
11 ECS::Entity entity,
12 const char* componentName
13 );
14 virtual void Redo() override;
15 virtual void Undo() override;
16 virtual ~AddComponentCommand() {}
17 private:
18 ECS::Entity entity;
19 std::string componentName;
20 };
21
23 public:
24 virtual void Redo() override;
25 virtual void Undo() override;
26 virtual ~DeleteComponentCommand() {}
27 private:
28 };
29 }
30}
Definition Entity.hpp:14
Definition ComponentCommands.hpp:8
Definition CommandList.hpp:13
Definition ComponentCommands.hpp:22