#pragma once #include "ICommand.h" #include namespace NuakeEditor { class CommandBuffer { private: std::vector mCommands; public: CommandBuffer() : mCommands(std::vector()) {} ~CommandBuffer() = default; void PushCommand(ICommand& command) { command.Execute(); mCommands.push_back(command); } void PopCommand() { } }; }