changed function( to function (

This commit is contained in:
logsol 2012-07-28 13:38:31 +02:00
parent 26f3d22db7
commit 7e5eeb0a27
36 changed files with 209 additions and 209 deletions

View file

@ -7,7 +7,7 @@ define([
"Lib/Utilities/RequestAnimFrame"
],
function(Parent, PhysicsEngine, ViewController, KeyboardController, NotificationCenter, requestAnimFrame) {
function (Parent, PhysicsEngine, ViewController, KeyboardController, NotificationCenter, requestAnimFrame) {
function GameController () {
this.viewController = new ViewController();
@ -25,11 +25,11 @@ function(Parent, PhysicsEngine, ViewController, KeyboardController, Notification
GameController.prototype = Object.create(Parent.prototype);
/*
GameController.prototype.getMe = function() {
GameController.prototype.getMe = function () {
return this.me;
}
GameController.prototype.update = function() {
GameController.prototype.update = function () {
requestAnimFrame(this.update.bind(this));
@ -42,13 +42,13 @@ function(Parent, PhysicsEngine, ViewController, KeyboardController, Notification
}
}
GameController.prototype.meJoined = function(user) {
GameController.prototype.meJoined = function (user) {
this.me = this.userJoined(user);
this.keyboardController = new KeyboardController(this.me, this);
}
GameController.prototype.processGameCommand = function(command, options) {
GameController.prototype.processGameCommand = function (command, options) {
if (command == "worldUpdate") {