Commit 76e125fc authored by Hubert Denkmair's avatar Hubert Denkmair

fix broken web ide

parent 62f63fb2
......@@ -22,6 +22,11 @@ function Game(assets, snakeMoveStrategy, container)
}
Game.prototype.AddLogHandler = function(callback, thisArg)
{
this.logHandlers.push([callback, thisArg]);
};
Game.prototype.AddGameEventHandler = function(callback, thisArg)
{
this.gameEventHandlers.push([callback, thisArg]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment