![]() |
Gamedev Framework (gf) 1.2.0
A C++17 framework for 2D games
|
A layer with tiles in cells. More...
#include <gf/Tmx.h>
Public Member Functions | |
void | accept (const TmxLayers &map, TmxVisitor &visitor) const override |
Accept function in the visitor pattern. More... | |
![]() | |
virtual | ~TmxLayer () |
Destructor. More... | |
virtual void | accept (const TmxLayers &map, TmxVisitor &visitor) const =0 |
Accept function in the visitor pattern. More... | |
Public Attributes | |
std::vector< TmxCell > | cells |
The cells of the layer. More... | |
std::vector< TmxChunk > | chunks |
The chunks of the layer. More... | |
![]() | |
TmxProperties | properties |
The properties of the layer. More... | |
std::string | name |
The name of the layer. More... | |
double | opacity |
The opacity of the layer. More... | |
bool | visible |
The visibility of the layer. More... | |
Vector2i | offset |
The offset of the layer. More... | |
A layer with tiles in cells.
|
overridevirtual |
Accept function in the visitor pattern.
map | The containing map |
visitor | The visitor |
Implements gf::TmxLayer.
std::vector<TmxCell> gf::TmxTileLayer::cells |
The cells of the layer.
std::vector<TmxChunk> gf::TmxTileLayer::chunks |
The chunks of the layer.