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