Merge branch 'master' of github.com:logsol/chuck.js

This commit is contained in:
logsol 2013-12-09 16:48:46 +01:00
commit b82b02d4ab
7 changed files with 60 additions and 4 deletions

View file

@ -0,0 +1,20 @@
define([
],
function() {
function GameObject() {
this.body = null;
}
GameObject.prototype.render = function() {
return null;
}
GameObject.prototype.getBody = function() {
return this.body;
};
return GameObject;
});

View file

@ -1,9 +1,9 @@
define([ define([
"Lib/Vendor/Box2D", "Game/Core/Collision/Detector",
"Game/Core/Collision/Detector" "Lib/Vendor/Box2D"
], ],
function (Box2D, Parent) { function (Parent, Box2D) {
function Detector (player) { function Detector (player) {
Parent.call(this, player); Parent.call(this, player);

View file

@ -1,6 +1,6 @@
define([ define([
"Game/Core/GameController", "Game/Core/GameController",
"Game/Core/Physics/Engine", "Game/Server/Physics/Engine",
"Game/Config/Settings", "Game/Config/Settings",
"Game/Server/Control/PlayerController", "Game/Server/Control/PlayerController",
"Lib/Utilities/RequestAnimFrame", "Lib/Utilities/RequestAnimFrame",

View file

@ -0,0 +1,9 @@
define([
"Game/Core/GameObject"
],
function(Parent) {
return Parent;
});

View file

@ -0,0 +1,9 @@
define([
"Game/Core/Level"
],
function(Parent) {
return Parent;
});

View file

@ -0,0 +1,9 @@
define([
"Game/Core/Physics/Doll"
],
function(Parent) {
return Parent;
});

View file

@ -0,0 +1,9 @@
define([
"Game/Core/Physics/Engine"
],
function(Parent) {
return Parent;
});