new Dispatcher
Creates a new TSPS parser + dispatcher
- Source:
- TSPS-1.2.js, line 44
Members
-
people :Object Object with all current people sorted by ID
-
people
- Source:
- TSPS-1.2.js, line 51
Methods
-
onPersonEntered
-
override in your main app
- Source:
- TSPS-1.2.js, line 130
Example
var tsps = new TSPS.Dispatcher(); tsps.onPersonEntered = this.onPersonEntered; tsps.onPersonUpdated = this.onPersonUpdated; tsps.onPersonMoved = this.onPersonMoved; tsps.onPersonLeft = this.onPersonLeft;
-
onPersonLeft
-
override in your main app
- Source:
- TSPS-1.2.js, line 145
-
onPersonMoved
-
override in your main app
- Source:
- TSPS-1.2.js, line 140
-
onPersonUpdated
-
override in your main app
- Source:
- TSPS-1.2.js, line 135