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