replaced NotificationCenter with Nc

This commit is contained in:
logsol 2014-03-01 11:07:23 +01:00
parent da913c4709
commit 672a46efa8
35 changed files with 160 additions and 161 deletions

View file

@ -6,7 +6,7 @@ define([
"Lib/Utilities/NotificationCenter"
],
function (Parent, ProtocolHelper, GameController, User, NotificationCenter) {
function (Parent, ProtocolHelper, GameController, User, Nc) {
function Worker () {
//this.socketLink = socketLink;
@ -40,7 +40,7 @@ function (Parent, ProtocolHelper, GameController, User, NotificationCenter) {
}
}, this);
NotificationCenter.on("sendGameCommand", this.sendGameCommand, this);
Nc.on("sendGameCommand", this.sendGameCommand, this);
}
Worker.prototype.sendCommand = function (command, options) {