console.log, checkpoint and code cleanup

This commit is contained in:
logsol 2014-03-31 05:06:52 +02:00
parent 39f684315b
commit 55b56f9c12
4 changed files with 31 additions and 29 deletions

View file

@ -62,7 +62,7 @@
levelUid: this.getNextLevelUid()
};
console.log(gameControllerOptions)
console.checkpoint("Begin Round (" + this.name + ")");
this.gameController = new GameController(gameControllerOptions);
@ -80,6 +80,8 @@
Channel.prototype.onEndRound = function() {
var self = this;
this.broadcastControlCommand("endRound", true);
console.checkpoint("End Round (" + this.name + ") - Begin Round in " + Settings.CHANNEL_END_ROUND_TIME + " seconds");
setTimeout(function() {
self.beginRound();