module:Sprite

Sprite class
sprite demo

Constructor

new module:Sprite(positionDefinition, url, frames, optionsopt)

Sprite constructor

Parameters:
NameTypeAttributesDescription
positionDefinitionPositionDefinition
urlString
framesArray.<FrameData>
optionsSpriteOptions<optional>

Drawing options

Extends