mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
NC refactoring
This commit is contained in:
parent
28f71f49e1
commit
96bf9bffbd
24 changed files with 69 additions and 69 deletions
|
|
@ -20,8 +20,8 @@ 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('user/resetLevel', this.onResetLevel, this);
|
||||
Nc.on('user/clientReady', this.onClientReady, this);
|
||||
Nc.on('player/killed', this.onPlayerKilled, this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue