mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
changed function( to function (
This commit is contained in:
parent
26f3d22db7
commit
7e5eeb0a27
36 changed files with 209 additions and 209 deletions
|
|
@ -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") {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue