![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <EditorState.h>
Inheritance diagram for Olympe::Editor::SetCollisionCommand:
Collaboration diagram for Olympe::Editor::SetCollisionCommand:Public Member Functions | |
| SetCollisionCommand (int x, int y, uint8_t newMask) | |
| ~SetCollisionCommand () 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 |
| uint8_t | m_newMask |
| uint8_t | m_oldMask |
Definition at line 113 of file EditorState.h.
Definition at line 160 of file EditorState.cpp.
|
overridedefault |
|
overridevirtual |
Implements Olympe::Editor::Command.
Definition at line 165 of file EditorState.cpp.
References GetComponentTypeID_Static(), m_newMask, m_oldMask, m_x, and m_y.
Here is the call graph for this function:
|
overridevirtual |
Implements Olympe::Editor::Command.
Definition at line 178 of file EditorState.cpp.
|
overridevirtual |
Implements Olympe::Editor::Command.
Definition at line 172 of file EditorState.cpp.
References GetComponentTypeID_Static(), m_oldMask, m_x, and m_y.
Here is the call graph for this function:
|
private |
Definition at line 126 of file EditorState.h.
Referenced by Execute().
|
private |
Definition at line 127 of file EditorState.h.
|
private |
Definition at line 124 of file EditorState.h.
Referenced by Execute(), GetDescription(), and Undo().
|
private |
Definition at line 125 of file EditorState.h.
Referenced by Execute(), GetDescription(), and Undo().