altered define paths

This commit is contained in:
logsol 2012-07-21 22:34:56 +02:00
parent 0df0f2965c
commit ca61f9e0f9

4
app/Game/Server/Channel.js Normal file → Executable file
View file

@ -1,9 +1,9 @@
define(["Chuck/ServerGame"], function(ServerGame) { define(["Game/Server/GameController"], function(GameController) {
function Channel(name) { function Channel(name) {
this.name = name; this.name = name;
this.users = {}; this.users = {};
this.serverGame = this.factory.new(ServerGame, this); this.serverGame = new GameController();
console.log("server game " + this.serverGame); console.log("server game " + this.serverGame);
this.serverGame.loadLevel("default.json"); this.serverGame.loadLevel("default.json");