![]()  | 
  
    Gamedev Framework (gf)
    0.8.0
    
   A C++14 framework for 2D games 
   | 
 
A layer in the whole map. More...
#include <gf/Tmx.h>

Public Member Functions | |
| virtual | ~TmxLayer () | 
| Destructor.  More... | |
| virtual void | accept (const TmxLayers &map, TmxVisitor &visitor) const =0 | 
| Accept function in the visitor pattern.  More... | |
Public Attributes | |
| 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 in the whole map.
The are four kinds of layers: tile layers, image layers, object layers and group layers.
      
  | 
  virtual | 
Destructor.
      
  | 
  pure virtual | 
Accept function in the visitor pattern.
| map | The containing map | 
| visitor | The visitor | 
Implemented in gf::TmxGroupLayer, gf::TmxImageLayer, gf::TmxObjectLayer, and gf::TmxTileLayer.
| std::string gf::TmxLayer::name | 
The name of the layer.
| Vector2i gf::TmxLayer::offset | 
The offset of the layer.
| double gf::TmxLayer::opacity | 
The opacity of the layer.
| TmxProperties gf::TmxLayer::properties | 
The properties of the layer.
| bool gf::TmxLayer::visible | 
The visibility of the layer.
 1.8.13