render
Renders the entity on the given graphics context.
Parameters
gfx
The graphics context.
canvasWidth
The width of the canvas.
canvasHeight
The height of the canvas.
Renders the entity on the given graphics context.
The graphics context.
The width of the canvas.
The height of the canvas.