Rebel Fork Framework
Urho3D::Tile2D Class Reference

Tile define. More...

#include <Urho3D/Urho2D/TileMapDefs2D.h>

Inheritance diagram for Urho3D::Tile2D:

Public Member Functions

 Tile2D ()
unsigned GetGid () const
bool GetFlipX () const
bool GetFlipY () const
bool GetSwapXY () const
Sprite2DGetSprite () const
bool HasProperty (const ea::string &name) const
 Return has property.
const ea::string & GetProperty (const ea::string &name) const
 Return property.
- 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.
 RefCounted (const RefCounted &rhs)=delete
 Prevent copy construction.
RefCountedoperator= (const RefCounted &rhs)=delete
 Prevent assignment.
int AddRef ()
int ReleaseRef ()
int Refs () const
int WeakRefs () const
RefCountRefCountPtr () const
 Return pointer to the reference count structure.
bool HasScriptObject () const
 Return true if script runtime object wrapping this native object exists.
bool IsScriptStrongRef () const
 Return true if script reference is strong.

Private Attributes

unsigned gid_
SharedPtr< Sprite2Dsprite_
SharedPtr< PropertySet2DpropertySet_
 Property set.


class TmxTileLayer2D

Detailed Description

Tile define.

Member Function Documentation

◆ GetFlipX()

bool Urho3D::Tile2D::GetFlipX ( ) const

Return flip X.

◆ GetFlipY()

bool Urho3D::Tile2D::GetFlipY ( ) const

Return flip Y.

◆ GetGid()

unsigned Urho3D::Tile2D::GetGid ( ) const

Return gid.

◆ GetSprite()

Sprite2D * Urho3D::Tile2D::GetSprite ( ) const

Return sprite.

◆ GetSwapXY()

bool Urho3D::Tile2D::GetSwapXY ( ) const

Return swap X and Y.

The documentation for this class was generated from the following files: