| Urho3D
    | 
Tmx objects layer. More...
#include </home/runner/work/Dviglo/Dviglo/DvigloRepository/Source/Urho3D/Urho2D/TmxFile2D.h>
 
  
| Public Member Functions | |
| TmxObjectGroup2D (TmxFile2D *tmxFile) | |
| bool | Load (const XMLElement &element, const TileMapInfo2D &info) | 
| Load from XML element. | |
| void | StoreObject (const XMLElement &objectElem, const SharedPtr< TileMapObject2D > &object, const TileMapInfo2D &info, bool isTile=false) | 
| Store object. | |
| unsigned | GetNumObjects () const | 
| Return number of objects. | |
| TileMapObject2D * | GetObject (unsigned index) const | 
| Return tile map object at index. | |
|  Public Member Functions inherited from Dviglo::TmxLayer2D | |
| TmxLayer2D (TmxFile2D *tmxFile, TileMapLayerType2D type) | |
| TmxFile2D * | GetTmxFile () const | 
| Return tmx file. | |
| TileMapLayerType2D | GetType () const | 
| Return type. | |
| const String & | GetName () const | 
| Return name. | |
| int | GetWidth () const | 
| Return width. | |
| int | GetHeight () const | 
| Return height. | |
| bool | IsVisible () const | 
| Return is visible. | |
| bool | HasProperty (const String &name) const | 
| Return has property (use for script). | |
| const String & | GetProperty (const String &name) const | 
| Return property value (use for script). | |
|  Public Member Functions inherited from Dviglo::RefCounted | |
| RefCounted () | |
| Construct. Allocate the reference count structure and set an initial self weak reference. | |
| virtual | ~RefCounted () | 
| Destruct. Mark as expired and also delete the reference count structure if no outside weak references exist. | |
| RefCounted (const RefCounted &rhs)=delete | |
| Prevent copy construction. | |
| RefCounted & | operator= (const RefCounted &rhs)=delete | 
| Prevent assignment. | |
| void | AddRef () | 
| void | ReleaseRef () | 
| int | Refs () const | 
| int | WeakRefs () const | 
| RefCount * | RefCountPtr () | 
| Return pointer to the reference count structure. | |
| Private Attributes | |
| Vector< SharedPtr< TileMapObject2D > > | objects_ | 
| Objects. | |
| Additional Inherited Members | |
|  Protected Member Functions inherited from Dviglo::TmxLayer2D | |
| void | LoadInfo (const XMLElement &element) | 
| Load layer info. | |
| void | LoadPropertySet (const XMLElement &element) | 
| Load property set. | |
|  Protected Attributes inherited from Dviglo::TmxLayer2D | |
| WeakPtr< TmxFile2D > | tmxFile_ | 
| Tmx file. | |
| TileMapLayerType2D | type_ | 
| Layer type. | |
| String | name_ | 
| Name. | |
| int | width_ {} | 
| Width. | |
| int | height_ {} | 
| Height. | |
| bool | visible_ {} | 
| Visible. | |
| SharedPtr< PropertySet2D > | propertySet_ | 
| Property set. | |
Tmx objects layer.
 1.8.17
 1.8.17