ScState
Extends:
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public get |
clients: * |
|
| public get |
followers: * |
|
| Private Members | ||
| private |
_clients: {} |
|
| private |
_colors: {} |
|
| private |
_connection: * |
|
| private |
_followers: *[] |
|
| private |
_lastMouseX: * |
|
| private |
_lastMouseY: * |
|
| private |
_log: * |
|
| private |
|
|
| private |
_pilot: * |
|
| private |
|
|
Method Summary
| Public Methods | ||
| public |
getNumClients(): * |
|
| public |
getPilot(): * |
|
| public |
getUserId(clientId: *): * |
|
| public |
getUserInSubpatch(subPatch: *): * |
|
| public |
hasPilot(): * |
|
| Private Methods | ||
| private |
_cleanUpUserList(): * |
|
| private |
_onPingAnswer(payload: *) |
|
| private |
|
|
| private |
_sendCursorPos(x: *, y: *) |
|
Public Constructors
public constructor() source
Public Members
public get clients: * source
public get followers: * source
Private Members
private _clients: {} source
private _colors: {} source
private _connection: * source
private _followers: *[] source
private _lastMouseX: * source
private _lastMouseY: * source
private _log: * source
private _mouseTimeout: * source
private _pilot: * source
private _timeoutRefresh: * source
Public Methods
public getUserInSubpatch(subPatch: *): * source
Params:
| Name | Type | Attribute | Description |
| subPatch | * |
Return:
| * |
Private Methods
private _onPingAnswer(payload: *) source
Params:
| Name | Type | Attribute | Description |
| payload | * |
private _registerEventListeners() source
private _sendCursorPos(x: *, y: *) source
Params:
| Name | Type | Attribute | Description |
| x | * | ||
| y | * |