#include <MapActions.hpp>
Inherits editor::component::EditMap::Action.
|
using | Ptr = std::shared_ptr< Action > |
|
|
static Action::Ptr | create (unsigned int lvl, const sf::Vector2i &pos, unsigned int id, bl::tmap::Direction dir) |
|
Definition at line 410 of file MapActions.hpp.
◆ Ptr
using editor::component::EditMap::Action::Ptr = std::shared_ptr<Action> |
|
inherited |
◆ ~AddSpawnAction()
virtual editor::component::EditMap::AddSpawnAction::~AddSpawnAction |
( |
| ) |
|
|
virtualdefault |
◆ apply()
bool editor::component::EditMap::AddSpawnAction::apply |
( |
EditMap & |
map | ) |
|
|
overridevirtual |
◆ create()
EditMap::Action::Ptr editor::component::EditMap::AddSpawnAction::create |
( |
unsigned int |
lvl, |
|
|
const sf::Vector2i & |
pos, |
|
|
unsigned int |
id, |
|
|
bl::tmap::Direction |
dir |
|
) |
| |
|
static |
◆ description()
const char * editor::component::EditMap::AddSpawnAction::description |
( |
| ) |
const |
|
overridevirtual |
◆ undo()
bool editor::component::EditMap::AddSpawnAction::undo |
( |
EditMap & |
map | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: