Property | Defined By | ||
---|---|---|---|
collisionID : Number | Tile | ||
currFrame : int | Tile | ||
currTime : Number | Tile | ||
durations : Array | Tile | ||
frameIndex : Number | Tile | ||
frames : Array | Tile | ||
parent : Tileset | Tile | ||
pixels : BitmapData | Tile | ||
tileID : Number | Tile |
Method | Defined By | ||
---|---|---|---|
Tile | |||
getSource(tileWidth:Number, tileHeight:Number):Rectangle | Tile | ||
toString():String | Tile | ||
update():void | Tile |
collisionID | property |
public var collisionID:Number
currFrame | property |
public var currFrame:int
currTime | property |
public var currTime:Number
durations | property |
public var durations:Array
frameIndex | property |
public var frameIndex:Number
frames | property |
public var frames:Array
parent | property |
public var parent:Tileset
pixels | property |
public var pixels:BitmapData
tileID | property |
public var tileID:Number
Tile | () | Constructor |
public function Tile(tileID:Number, collisionID:Number, frameIndex:Number, durations:Array, imgData:*, parent:Tileset)
tileID:Number | |
collisionID:Number | |
frameIndex:Number | |
durations:Array | |
imgData:* | |
parent:Tileset |
getSource | () | method |
public function getSource(tileWidth:Number, tileHeight:Number):Rectangle
Parameters
tileWidth:Number | |
tileHeight:Number |
Rectangle |
toString | () | method |
public function toString():String
ReturnsString |
update | () | method |
public function update():void