TiledObject
API Reference > flixel.addons.editors.tiled > TiledObject
TiledObject
タイルオブジェクトを定義したクラスです
- TiledObject
- 定数
- フィールド
- x:Int : X座標
- y:Int : Y座標
- Width:Int : 幅
- Height:Int : 高さ
- name:String : 名前
- type:String : 種別
- xmlData:Fast : ???
- angle:Float : 回転角度
- gid:Int : チップ番号
- custom:TiledPropertySet : カスタムプロパティ
- shared:TiledPropertySet : 共有プロパティ
- objectType:Int : オブジェクト種別
- flippedHorizontally:Bool : 左右反転フラグ
- flippedVertically:Bool : 上下反転フラグ
定数
反転フラグ
定数名 | 値 | 説明 |
FLIPPED_VERTICALLY_FLAG | 0x40000000 | 上下反転フラグ |
FLIPPED_HORIZONTALLY_FLAG | 0x80000000 | 左右反転フラグ |
種別
定数名 | 値 | 説明 |
RECTANGLE | 0 | 矩形 |
ELLIPSE | 1 | 円 |
POLYGON | 2 | ポリゴン |
POLYLINE | 3 | ポリライン |
TILE | 4 | タイル |