This commit is contained in:
Antoine Pilote
2024-04-27 15:18:11 -04:00
4 changed files with 53 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
#pragma once
#include <vector>
namespace NuakeEditor
{
class CommandBuffer
{
private:
public:
CommandBuffer();
~CommandBuffer();
};
}

View File

@@ -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;
};
}

View File

@@ -0,0 +1,11 @@
#pragma once
namespace NuakeEditor
{
class ICommand
{
public:
virtual void Execute() = 0;
virtual void Undo() = 0;
};
}