Property | Defined By | ||
---|---|---|---|
framesAcross : Number | Tileset | ||
framesDown : Number | Tileset | ||
ID : uint | Resource | ||
name : String | Resource | ||
pixels : BitmapData | Tileset | ||
tiles : Array | Tileset |
Method | Defined By | ||
---|---|---|---|
Tileset(ID:uint, name:String, framesAcross:Number, framesDown:Number, tiles:Array, imgData:*) | Tileset | ||
getImageSourceForTile(tileID:uint, tileWidth:Number, tileHeight:Number):Rectangle | Tileset | ||
toString():String | Resource |
framesAcross | property |
public var framesAcross:Number
framesDown | property |
public var framesDown:Number
pixels | property |
public var pixels:BitmapData
tiles | property |
public var tiles:Array
Tileset | () | Constructor |
public function Tileset(ID:uint, name:String, framesAcross:Number, framesDown:Number, tiles:Array, imgData:*)
ID:uint | |
name:String | |
framesAcross:Number | |
framesDown:Number | |
tiles:Array | |
imgData:* |
getImageSourceForTile | () | method |
public function getImageSourceForTile(tileID:uint, tileWidth:Number, tileHeight:Number):Rectangle
Parameters
tileID:uint | |
tileWidth:Number | |
tileHeight:Number |
Rectangle |