41 const std::string& text,
42 const std::string& team_name,
59 std::unique_ptr<editor_action>
clone()
const override;
84 std::unique_ptr<editor_action>
clone()
const override;
std::unique_ptr< editor_action > clone() const override
Action cloning.
const std::string & get_name() const override
void perform_without_undo(map_context &mc) const override
Perform the action without creating an undo action.
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_label_delete(map_location loc)
const std::string category_
void perform_without_undo(map_context &mc) const override
Perform the action without creating an undo action.
editor_action_label(map_location loc, const std::string &text, const std::string &team_name, color_t color, bool visible_fog, bool visible_shroud, bool immutable, std::string category)
const std::string & get_name() const override
const std::string team_name_
std::unique_ptr< editor_action > clone() const override
Action cloning.
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 ...
Base class for actions which act on a specified location (and possibly on other locations that can be...
This class wraps around a map to provide a concise interface for the editor to work with.
Manage the empty-palette in the editor.
The basic class for representing 8-bit RGB or RGBA colour values.
Encapsulates the map of the game.