changed function XXX( to function XXX (

This commit is contained in:
logsol 2012-07-28 13:54:49 +02:00
parent 7e5eeb0a27
commit 76daceb2e7
22 changed files with 22 additions and 22 deletions

View file

@ -5,7 +5,7 @@ define([
function (Box2D, Parent) {
function Detector(me) {
function Detector (me) {
Parent.call(this);
this.me = me;
}

View file

@ -1,6 +1,6 @@
define(["Game/Core/Control/InputController", "Game/Client/Control/KeyboardInput"], function (InputController, KeyboardInput){
function KeyboardController(me, gameController) {
function KeyboardController (me, gameController) {
this.gameController = gameController;
this.inputController = new InputController(me);

View file

@ -5,7 +5,7 @@ define([
function (ProtocolHelper, GameController) {
function Networker(socketLink) {
function Networker (socketLink) {
this.socketLink = socketLink;
this.gameController = null;

View file

@ -1,6 +1,6 @@
define(['Lib/Vendor/Three', 'Game/Config/Settings'], function (Three, Settings) {
function CameraController(isOrthographic) {
function CameraController (isOrthographic) {
isOrthographic = typeof isOrthographic == 'undefined'
? true

View file

@ -7,7 +7,7 @@ var requires = [
define(requires, function (DomController, Three, Settings, CameraController){
function ViewController(){
function ViewController (){
this.mesh = null;
this.scene = null;

View file

@ -5,7 +5,7 @@ define([
function (Box2D, Parent) {
function Detector() {
function Detector () {
this.listener = new Box2D.Dynamics.b2ContactListener();
this.listener.chuckDetector = this;
this.listener.BeginContact = this.BeginContact;

View file

@ -1,6 +1,6 @@
define(function (){
function InputController(player) {
function InputController (player) {
this.player = player;

View file

@ -6,7 +6,7 @@ define([
function (Engine, Level, Player) {
function GameController(physicsEngine) {
function GameController (physicsEngine) {
this.players = {};
if (! physicsEngine instanceof Engine) {

View file

@ -1,7 +1,7 @@
define(["Game/Config/Settings", "Lib/Vendor/Box2D", "Game/Core/Collision/Detector"], function (Settings, Box2D, CollisionDetector) {
// Public
function Level(path, engine) {
function Level (path, engine) {
this.path = path;
this.engine = engine;
this.levelObject = null;

View file

@ -3,7 +3,7 @@ define([
function () {
function NotificationCenter() {
function NotificationCenter () {
this.topics = {};
this.subUid = -1;
}

View file

@ -1,6 +1,6 @@
define(function () {
function User(id) {
function User (id) {
this.id = id;
}

View file

@ -5,7 +5,7 @@
function (GameController, NotificationCenter) {
function Channel(coordinatorLink) {
function Channel (coordinatorLink) {
var self = this;
this.coordinatorLink = coordinatorLink;

View file

@ -5,7 +5,7 @@ define([
function (Box2D, Parent) {
function Detector() {
function Detector () {
Parent.call(this);
}

View file

@ -3,7 +3,7 @@ define([
function () {
function CoordinatorLink(process) {
function CoordinatorLink (process) {
this.process = process;
}

View file

@ -6,7 +6,7 @@ define([
function (Parent, ProtocolHelper, NotificationCenter) {
function User(id, coordinator) {
function User (id, coordinator) {
Parent.call(this, id);
this.id = socketLink.id;
this.socketLink = socketLink;