Drawable.draw - HermesPasser/Ramu GitHub Wiki
virtual
Drawable.draw()
Description
A GameObj that will be drawn in the canvas. It will be called once per frame.
Note: if you try to draw something out of it then nothing will be drawn after the update.
You can test this snippet of code here.
class NewObj extends Drawable{
draw(){
// logic here
}
}
See also GameObj.update.