mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
altered define paths
This commit is contained in:
parent
0df0f2965c
commit
ca61f9e0f9
1 changed files with 2 additions and 2 deletions
4
app/Game/Server/Channel.js
Normal file → Executable file
4
app/Game/Server/Channel.js
Normal file → Executable 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");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue