added Factory

This commit is contained in:
Jeena Paradies 2012-07-21 00:50:45 +02:00
parent fe7205648d
commit 043f2dbfda
2 changed files with 4 additions and 5 deletions

View file

@ -1,8 +1,6 @@
define(["Chuck/ServerGame", "Server/Factory"], function(ServerGame, Factory) {
define(["Chuck/ServerGame"], function(ServerGame) {
function Channel(name) {
this.factory = new Factory();
this.name = name;
this.users = {};
this.serverGame = this.factory.new(ServerGame, this);