diff --git a/Editor/src/Commands/CommandBuffer.h b/Editor/src/Commands/CommandBuffer.h new file mode 100644 index 0000000..91c48a6 --- /dev/null +++ b/Editor/src/Commands/CommandBuffer.h @@ -0,0 +1,17 @@ +#pragma once + +#include + +namespace NuakeEditor +{ + class CommandBuffer + { + private: + + public: + CommandBuffer(); + ~CommandBuffer(); + + + }; +} \ No newline at end of file diff --git a/Editor/src/Commands/Commands/Commands.h b/Editor/src/Commands/Commands/Commands.h new file mode 100644 index 0000000..086ebd0 --- /dev/null +++ b/Editor/src/Commands/Commands/Commands.h @@ -0,0 +1,23 @@ +#pragma once +#include "../ICommand.h" + +namespace NuakeEditor { + + class SaveSceneCommand : ICommand + { + public: + void Execute() override; + }; + + class SaveProjectCommand : ICommand + { + public: + void Execute() override; + }; + + class SaveProjectCommand : ICommand + { + public: + void Execute() override; + }; +} \ No newline at end of file diff --git a/Editor/src/Commands/ICommand.h b/Editor/src/Commands/ICommand.h new file mode 100644 index 0000000..1dc7c25 --- /dev/null +++ b/Editor/src/Commands/ICommand.h @@ -0,0 +1,11 @@ +#pragma once + +namespace NuakeEditor +{ + class ICommand + { + public: + virtual void Execute() = 0; + virtual void Undo() = 0; + }; +} \ No newline at end of file