Returns if we can further zoom in
Returns if we can further zoom out
Cancels all interactions, that is user interaction and non user interaction
Centers the view on the base
Checks if the mouse event is too close after a touch event and thus should get ignored
Clamps the camera viewport to the bounds
Clamps the camera zoom level within the allowed range
Cleans up all event listeners
Clears all animations
Internal touch move handler
Internal touch start handler
Internal touch stop handler
Draws debug overlays
Finds a good initial zoom level
Returns effective world space viewport bottom
Returns effective viewport height
Returns effective world space viewport left
Returns effective world space viewport right
Returns effective world space viewport top
Returns effective viewport width
Returns the visible world space rect
Attaches all event listeners
Updates the non user interaction centering
Time now in seconds
Delta time
Updates the keyboard forces
Delta time
Internal pan handler
Time now in seconds
Delta time
Internal shake handler
Time now in seconds
Delta time
Updates the non user interaction zooming
Time now in seconds
Delta time
Returns if the user is currently interacting with the camera
true if the user interacts
Returns if this camera is currently moving by a non-user interaction
Returns if a point is on screen
true if its on screen
Mousedown handler
Mousemove handler
Mouseup handler
Mousewheel event
Touch end and cancel handler
Touch move handler
Touch start handler
Converts from screen to world space
world space
Sets a point in world space to focus on
Sets the camera pan, every frame the camera will move by this amount
Prepares a context to transform it
Updates the camera
Delta time in milliseconds
Returns if in the next frame the viewport will change
true if it willchange
Converts from world to screen space
screen space
Binds the arrow keys