mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
added Factory
This commit is contained in:
parent
fe7205648d
commit
043f2dbfda
2 changed files with 4 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue