Cogs.Core
ExportCommand.h
1#pragma once
2
3#include "EditorCommand.h"
4
5namespace Cogs::Core
6{
7 class COGSCORE_EDITOR_API ExportCommand : public EditorCommand
8 {
9 public:
10 ExportCommand(EditorState * state, EntityId /*entityId*/, bool exportAll = false) : EditorCommand(state, state->context), exportScene(exportAll) {}
11
12 virtual void apply() override;
13 virtual void undo() override;
14 private:
15 bool exportScene = false;
16 };
17}
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....
Base class for Cogs Editor commands.
Definition: EditorCommand.h:19