Camera::setPosition()
Sets the position of the sprite
Syntax
Java
.setPosition(x, y)
.setPosition(v)
Parameters
| Name | Data Type | Description |
|---|---|---|
| x | double | a x coordinate |
| y | double | a y coordinate |
| v | Vector2 | a vector |
Return
void

Sets the position of the sprite
.setPosition(x, y)
.setPosition(v)
| Name | Data Type | Description |
|---|---|---|
| x | double | a x coordinate |
| y | double | a y coordinate |
| v | Vector2 | a vector |
void