44 std::unique_ptr<editor_action>
clone()
const override;
45 void extend(
const editor_map& map,
const std::set<map_location>& locs)
override;
48 const std::string&
get_name()
const override;
62 std::unique_ptr<editor_action>
clone()
const override;
63 void extend(
const editor_map& map,
const std::set<map_location>& locs)
override;
66 const std::string&
get_name()
const override;
79 std::unique_ptr<editor_action>
clone()
const override;
82 const std::string&
get_name()
const override;
95 std::unique_ptr<editor_action>
clone()
const override;
98 const std::string&
get_name()
const override;
111 std::unique_ptr<editor_action>
clone()
const override;
114 const std::string&
get_name()
const override;
Base class for area-affecting actions.
editor_action_select_none()
void extend(const editor_map &map, const std::set< map_location > &locs) override
The crux of the extendable contract.
editor_action_deselect(const std::set< map_location > &area)
editor_action_select(const std::set< map_location > &area)
editor_action_select_all()
Select the given locations.
void perform_without_undo(map_context &mc) const override
Perform the action without creating an undo action.
Manage the empty-palette in the editor.
std::unique_ptr< editor_action > clone() const override
Action cloning.
This class adds extra editor-specific functionality to a normal gamemap.
const std::string & get_name() const override
Base class for all editor actions.
This class wraps around a map to provide a concise interface for the editor to work with...
editor_action_select_inverse()
Deselect the given locations.
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 ...