mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
changed function XXX( to function XXX (
This commit is contained in:
parent
7e5eeb0a27
commit
76daceb2e7
22 changed files with 22 additions and 22 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
define(function (){
|
||||
|
||||
function InputController(player) {
|
||||
function InputController (player) {
|
||||
|
||||
this.player = player;
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ define([
|
|||
|
||||
function (Engine, Level, Player) {
|
||||
|
||||
function GameController(physicsEngine) {
|
||||
function GameController (physicsEngine) {
|
||||
this.players = {};
|
||||
|
||||
if (! physicsEngine instanceof Engine) {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ define([
|
|||
|
||||
function () {
|
||||
|
||||
function NotificationCenter() {
|
||||
function NotificationCenter () {
|
||||
this.topics = {};
|
||||
this.subUid = -1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
define(function () {
|
||||
|
||||
function User(id) {
|
||||
function User (id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue