provaengine v0.2.0-alpha (2018-03-19T00:32:13Z)
Dub
Repo
Entity.draw
prova
core
entity
Entity
Called every draw tick (skipped if update loop is behind)
class
Entity
void
draw
(
RenderTarget
renderTarget
,
Matrix
transform
)
Meta
Source
See Implementation
prova
core
entity
Entity
constructors
this
functions
addTag
attach
draw
getLocalTransformMatrix
hasTag
onCollision2D
onCollisionEnter2D
onCollisionExit2D
remove
removeTag
setup
start
update
properties
game
input
scene
variables
_scene
audioSources
colliders2d
friction
isSetup
position
rotation
scale
velocity
Called every draw tick (skipped if update loop is behind)