DrawingSprite::draw()
Draws the sprite; called every frame on the game thread.
Examples
Syntax
Java
.draw(drawing)
Parameters
| Name | Data Type | Description |
|---|---|---|
| drawing | Drawing | what to draw with, in the sprite's own coordinates |
Return
void
Draws the sprite; called every frame on the game thread.
.draw(drawing)
| Name | Data Type | Description |
|---|---|---|
| drawing | Drawing | what to draw with, in the sprite's own coordinates |
void