mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
nc merge
This commit is contained in:
commit
f7ca9d2393
23 changed files with 69 additions and 67 deletions
|
|
@ -20,10 +20,11 @@ function (Parent, PhysicsEngine, Settings, PlayerController, requestAnimFrame, N
|
|||
|
||||
Parent.call(this);
|
||||
|
||||
Nc.on('user/joined', this.onUserJoined, this);
|
||||
Nc.on('user/left', this.onUserLeft, this);
|
||||
Nc.on(Nc.ns.channel.events.user.joined, this.onUserJoined, this);
|
||||
Nc.on(Nc.ns.channel.events.user.left, this.onUserLeft, this);
|
||||
Nc.on(Nc.ns.channel.events.user.level.reset, this.onResetLevel, this);
|
||||
Nc.on(Nc.ns.channel.events.user.client.ready, this.onClientReady, this);
|
||||
|
||||
Nc.on('player/killed', this.onPlayerKilled, this);
|
||||
|
||||
console.checkpoint('starting game controller for channel ' + channel.name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue