Skip to content

BoundsChanged beta ​

Interface of @v12-engine/client

ts
export interface BoundsChanged

What the view is held in has changed (RtsCamera.lock, free, bounds): told to GameClient.on('boundsChanged') and GameView.on's boundsChanged

Members ​

bounds ​

ts
bounds?: CameraBounds;

What the view is held in now: the lock's where there is one, else the bounds. The whole map when left out

locked ​

ts
locked: boolean;

Whether that is a lock, which free lets go of