Moves the Camera so that it is centered on the given coordinates, bounds allowing.
name | type | description |
---|---|---|
x | number |
The horizontal coordinate to center on. |
y | number |
The vertical coordinate to center on. |
This Camera instance.