Component Graphic - DevRubicate/Devil-Fresh GitHub Wiki

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)