Skip to content

Component Graphic

Drakim edited this page Oct 5, 2016 · 1 revision

Description

The Graphic component allows an entity to specify and customize how it should visually appear.

Events

setGraphic (graphic:String, type:String)

setGraphicOffset (x:Int, y:Int)

setAnimation (name:String, interrupt:Bool)

setAnimationSpeed (value:Int)

setAnimationFrame (value:Int)

stopAnimation ()

startAnimation ()

render (camera:Entity)

Clone this wiki locally