Sprite::changePosition()
Changes the position of the sprite by a given vector.
Syntax
Java
.changePosition(v)
Parameters
| Name | Data Type | Description |
|---|---|---|
| v | Vector2 | a vector representing the change in position |
Return
void

Changes the position of the sprite by a given vector.
.changePosition(v)
| Name | Data Type | Description |
|---|---|---|
| v | Vector2 | a vector representing the change in position |
void