Sprite::move()
Moves the sprite towards the current rotation by the received steps.
Syntax
Java
.move(steps)
.move(v)
Parameters
| Name | Data Type | Description |
|---|---|---|
| steps | double | a number of pixels |
| v | Vector2 | a vector |
Return
void

Moves the sprite towards the current rotation by the received steps.
.move(steps)
.move(v)
| Name | Data Type | Description |
|---|---|---|
| steps | double | a number of pixels |
| v | Vector2 | a vector |
void