45 std::unique_ptr<editor_action>
clone()
const override;
65 std::unique_ptr<editor_action>
clone()
const override;
Base class for actions which act on a specified location (and possibly on other locations that can be...
Clears the ownership of a village.
const std::string & get_name() const override
std::unique_ptr< editor_action > perform(map_context &mc) const override
Perform the action, returning an undo action that, when performed, shall reverse any effects of this ...
editor_action_village_delete(map_location loc)
void perform_without_undo(map_context &mc) const override
Perform the action without creating an undo action.
std::unique_ptr< editor_action > clone() const override
Action cloning.
Sets the ownership of a village to the current side.
editor_action_village(map_location loc, int side_number)
const std::string & get_name() const override
std::unique_ptr< editor_action > perform(map_context &mc) const override
Perform the action, returning an undo action that, when performed, shall reverse any effects of this ...
void perform_without_undo(map_context &mc) const override
Perform the action without creating an undo action.
std::unique_ptr< editor_action > clone() const override
Action cloning.
This class wraps around a map to provide a concise interface for the editor to work with.
Manage the empty-palette in the editor.
Encapsulates the map of the game.