30 #ifndef DOXYGEN_SHOULD_SKIP_THIS 168 void setTransparent(
Vector2i pos,
bool transparent =
true);
177 bool isTransparent(
Vector2i pos)
const;
187 void setWalkable(
Vector2i pos,
bool walkable =
true);
194 bool isWalkable(
Vector2i pos)
const;
221 void clearFieldOfVision();
230 void clearExplored();
279 bool isInFieldOfVision(
Vector2i pos)
const;
289 bool isExplored(
Vector2i pos)
const;
323 #ifndef DOXYGEN_SHOULD_SKIP_THIS 327 struct EnableBitmaskOperators<CellProperty> {
328 static constexpr
bool value =
true;
A two-dimensional array.
Definition: Array2D.h:304
A basic algorithm based on ray casting.
The limits are included in the field of vision.
constexpr Flags< CellProperty > EmptyCell
An empty cell.
Definition: Map.h:55
Route
Algorithm for computing a route.
Definition: Map.h:86
The limits are not included in the field of vision.
CellProperty
A property of a cell.
Definition: Map.h:40
constexpr float Sqrt2
The constant.
Definition: Math.h:76
The cell has been explored (computed by FoV)
The namespace for gf classes.
Definition: Action.h:35
A square map.
Definition: Map.h:108
The cell is visible (computed by FoV)
A 2D range.
Definition: Range.h:278
FieldOfVisionLimit
Constant to indicate if the limit is part of the field of vision.
Definition: Map.h:75
FieldOfVision
Algorithm for computing a field of vision.
Definition: Map.h:63