-
Notifications
You must be signed in to change notification settings - Fork 0
Component Graphic
Drakim edited this page Oct 5, 2016
·
1 revision
The Graphic component allows an entity to specify and customize how it should visually appear.
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)