Special Spritemap object that can display blocks of animated sprites.
Constructor
View source
Parameters:
new (source : TileType, frameWidth : Int = 0, frameHeight : Int = 0, width : Int = 0, height : Int = 0) : Void
Constructs the tiled spritemap.
Parameters:
source | Source image. | |
frameWidth | Frame width. | |
frameHeight | Frame height. | |
width | Width of the block to render. | |
height | Height of the block to render. |