Urho3D::TmxImageLayer2D Class Reference

Tmx image layer. More...

#include <TmxFile2D.h>

Inheritance diagram for Urho3D::TmxImageLayer2D:
[legend]
Collaboration diagram for Urho3D::TmxImageLayer2D:
[legend]

Public Member Functions

 TmxImageLayer2D (TmxFile2D *tmxFile)
 
bool Load (const XMLElement &element, const TileMapInfo2D &info)
 Load from XML element.
 
const Vector2GetPosition () const
 Return position.
 
const StringGetSource () const
 Return source.
 
Sprite2DGetSprite () const
 Return sprite.
 
- Public Member Functions inherited from Urho3D::TmxLayer2D
 TmxLayer2D (TmxFile2D *tmxFile, TileMapLayerType2D type)
 
TmxFile2DGetTmxFile () const
 Return tmx file.
 
TileMapLayerType2D GetType () const
 Return type.
 
const StringGetName () 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 StringGetProperty (const String &name) const
 Return property value (use for script).
 
- Public Member Functions inherited from Urho3D::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.
 
void AddRef ()
 Increment reference count. Can also be called outside of a SharedPtr for traditional reference counting.
 
void ReleaseRef ()
 Decrement reference count and delete self if no more references. Can also be called outside of a SharedPtr for traditional reference counting.
 
int Refs () const
 Return reference count.
 
int WeakRefs () const
 Return weak reference count.
 
RefCountRefCountPtr ()
 Return pointer to the reference count structure.
 

Private Attributes

Vector2 position_
 Position.
 
String source_
 Source.
 
SharedPtr< Sprite2Dsprite_
 Sprite.
 

Additional Inherited Members

- Protected Member Functions inherited from Urho3D::TmxLayer2D
void LoadInfo (const XMLElement &element)
 Load layer info.
 
void LoadPropertySet (const XMLElement &element)
 Load property set.
 
- Protected Attributes inherited from Urho3D::TmxLayer2D
WeakPtr< TmxFile2DtmxFile_
 Tmx file.
 
TileMapLayerType2D type_
 Layer type.
 
String name_
 Name.
 
int width_
 Width.
 
int height_
 Height.
 
bool visible_
 Visible.
 
SharedPtr< PropertySet2DpropertySet_
 Property set.
 

Detailed Description

Tmx image layer.


The documentation for this class was generated from the following files:
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Urho2D/TmxFile2D.h
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Urho2D/TmxFile2D.cpp