58 const std::string
id()
const {
return id_; }
A config object defines a single node in a WML file, with access to child nodes.
The brush class represents a single brush – a set of relative locations around a "hotspot",...
brush()
Construct a default (empty) brush.
void add_relative_location(int relative_x, int relative_y)
Add a location to the brush.
std::set< map_location > relative_tiles_
The relative locations of the brush.
const std::string id() const
std::set< map_location > project(const map_location &hotspot) const
Get a set of locations affected (i.e.
const std::string name() const
Manage the empty-palette in the editor.
Encapsulates the map of the game.