Rebel Fork Framework
|
Tile define. More...
#include <Urho3D/Urho2D/TileMapDefs2D.h>
Public Member Functions | |
Tile2D () | |
Construct. | |
unsigned | GetGid () const |
bool | GetFlipX () const |
bool | GetFlipY () const |
bool | GetSwapXY () const |
Sprite2D * | GetSprite () 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. | |
RefCounted & | operator= (const RefCounted &rhs)=delete |
Prevent assignment. | |
int | AddRef () |
int | ReleaseRef () |
int | Refs () const |
int | WeakRefs () const |
RefCount * | RefCountPtr () 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_ |
Gid. | |
SharedPtr< Sprite2D > | sprite_ |
Sprite. | |
SharedPtr< PropertySet2D > | propertySet_ |
Property set. | |
Friends | |
class | TmxTileLayer2D |
Tile define.
|
inline |
Return flip X.
|
inline |
Return flip Y.
|
inline |
Return gid.
Sprite2D * Urho3D::Tile2D::GetSprite | ( | ) | const |
Return sprite.
|
inline |
Return swap X and Y.