(original by Matt Tuttle based on Thomas Jahn's. Haxe port by Adrien Fischer) This content is released under the MIT License.
Static variables
staticinlineread onlyFLIPPED_VERTICALLY_FLAG:Int = 0x40000000
Use these to determine whether a sprite should be flipped, for example:
var flipped:Bool = (object.gid & TiledObject.FLIPPED_HORIZONTALLY_FLAG) > 0;
sprite.facing = flipped ? LEFT : RIGHT;
Constructor
Variables
properties:TiledPropertySet
Custom properties that users can set on this object If "type" is not defined, the parent layer's "defaultType" is used