![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <EditorState.h>
Inheritance diagram for Olympe::Editor::SetTileCommand:
Collaboration diagram for Olympe::Editor::SetTileCommand:Public Member Functions | |
| SetTileCommand (int x, int y, int newTileId) | |
| ~SetTileCommand () override=default | |
| void | Execute (LevelManager &levelManager) override |
| void | Undo (LevelManager &levelManager) override |
| std::string | GetDescription () const override |
Public Member Functions inherited from Olympe::Editor::Command | |
| virtual | ~Command ()=default |
Private Attributes | |
| int | m_x |
| int | m_y |
| int | m_newTileId |
| int | m_oldTileId |
Definition at line 62 of file EditorState.h.
Definition at line 49 of file EditorState.cpp.
|
overridedefault |
|
overridevirtual |
Implements Olympe::Editor::Command.
Definition at line 54 of file EditorState.cpp.
References GetComponentTypeID_Static(), m_newTileId, m_oldTileId, m_x, and m_y.
Here is the call graph for this function:
|
overridevirtual |
Implements Olympe::Editor::Command.
Definition at line 70 of file EditorState.cpp.
|
overridevirtual |
Implements Olympe::Editor::Command.
Definition at line 61 of file EditorState.cpp.
References GetComponentTypeID_Static(), m_oldTileId, m_x, and m_y.
Here is the call graph for this function:
|
private |
Definition at line 75 of file EditorState.h.
Referenced by Execute().
|
private |
Definition at line 76 of file EditorState.h.
|
private |
Definition at line 73 of file EditorState.h.
Referenced by Execute(), GetDescription(), and Undo().
|
private |
Definition at line 74 of file EditorState.h.
Referenced by Execute(), GetDescription(), and Undo().