30 #include "TmxPropertySet.h"
48 void Parse(
const tinyxml2::XMLNode *groupLayerNode);
57 const std::vector<Tmx::Layer*>
GetChildren()
const noexcept;
59 int GetNumChildren()
const noexcept;
62 void SetOffset(
const int offsetX,
const int offsetY);
71 std::vector<Tmx::Layer*> children;
Base class for other layer types.
Definition: TmxLayer.h:54
void Parse(const tinyxml2::XMLNode *groupLayerNode)
Parse a GroupLayer element.
Definition: TmxGroupLayer.cpp:48
A class used for holding groups of layers to create a layer heirarchy.
Definition: TmxGroupLayer.h:40
const std::vector< Tmx::Layer * > GetChildren() const noexcept
Returns a variable containing information about the image of the ImageLayer.
Definition: TmxGroupLayer.cpp:110
int GetOffsetY() const noexcept
Returns the y offset.
Definition: TmxGroupLayer.cpp:130
void AddChild(Tmx::Layer *childLayer)
Adds a child Layer to the group.
Definition: TmxGroupLayer.cpp:101
GroupLayer(const Tmx::Map *_map)
Construct an GroupLayer on the given map.
Definition: TmxGroupLayer.cpp:37
This class is the root class of the parser.
Definition: TmxMap.h:115
int GetOffsetX() const noexcept
Returns the x offset.
Definition: TmxGroupLayer.cpp:125
void SetOffset(const int offsetX, const int offsetY)
Sets the offset for this GroupLayer.
Definition: TmxGroupLayer.cpp:119