Cogs.Core
Extensions
Editor
Source
Commands
DumpStatsCommand.h
1
#pragma once
2
3
#include "EditorCommand.h"
4
5
namespace
Cogs::Core
6
{
7
struct
DumpStatsCommand
:
public
EditorCommand
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
}
Cogs::Core
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....
Definition:
ComponentFunctions.h:10
Cogs::Core::DumpStatsCommand
Definition:
DumpStatsCommand.h:8
Cogs::Core::DumpStatsCommand::apply
void apply() override
Run the command.
Definition:
DumpStatsCommand.cpp:125
Cogs::Core::EditorCommand
Base class for Cogs Editor commands.
Definition:
EditorCommand.h:19
Cogs::Core::EditorState
Definition:
EditorState.h:76
Generated by
1.9.6