![]() |
Gamedev Framework (gf)
0.10.0
A C++14 framework for 2D games
|
A layer with tiles in cells. More...
#include <gf/Tmx.h>
Public Member Functions | |
virtual void | accept (const TmxLayers &map, TmxVisitor &visitor) const override |
Accept function in the visitor pattern. More... | |
![]() | |
virtual | ~TmxLayer () |
Destructor. More... | |
Public Attributes | |
std::vector< TmxCell > | cells |
The cells 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.