diff --git a/app/Game/Core/GameObject.js b/app/Game/Core/GameObject.js new file mode 100644 index 0000000..e438349 --- /dev/null +++ b/app/Game/Core/GameObject.js @@ -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; + +}); \ No newline at end of file diff --git a/app/Game/Server/Collision/Detector.js b/app/Game/Server/Collision/Detector.js index 3ed456e..820190e 100755 --- a/app/Game/Server/Collision/Detector.js +++ b/app/Game/Server/Collision/Detector.js @@ -1,9 +1,9 @@ define([ - "Lib/Vendor/Box2D", - "Game/Core/Collision/Detector" + "Game/Core/Collision/Detector", + "Lib/Vendor/Box2D" ], -function (Box2D, Parent) { +function (Parent, Box2D) { function Detector (player) { Parent.call(this, player); diff --git a/app/Game/Server/GameController.js b/app/Game/Server/GameController.js index 3227363..e77f3ac 100755 --- a/app/Game/Server/GameController.js +++ b/app/Game/Server/GameController.js @@ -1,6 +1,6 @@ define([ "Game/Core/GameController", - "Game/Core/Physics/Engine", + "Game/Server/Physics/Engine", "Game/Config/Settings", "Game/Server/Control/PlayerController", "Lib/Utilities/RequestAnimFrame", diff --git a/app/Game/Server/GameObject.js b/app/Game/Server/GameObject.js new file mode 100644 index 0000000..78655df --- /dev/null +++ b/app/Game/Server/GameObject.js @@ -0,0 +1,9 @@ +define([ + "Game/Core/GameObject" +], + +function(Parent) { + + return Parent; + +}); \ No newline at end of file diff --git a/app/Game/Server/Loader/Level.js b/app/Game/Server/Loader/Level.js new file mode 100644 index 0000000..e18f5fa --- /dev/null +++ b/app/Game/Server/Loader/Level.js @@ -0,0 +1,9 @@ +define([ + "Game/Core/Level" +], + +function(Parent) { + + return Parent; + +}); \ No newline at end of file diff --git a/app/Game/Server/Physics/Doll.js b/app/Game/Server/Physics/Doll.js new file mode 100644 index 0000000..56624e6 --- /dev/null +++ b/app/Game/Server/Physics/Doll.js @@ -0,0 +1,9 @@ +define([ + "Game/Core/Physics/Doll" +], + +function(Parent) { + + return Parent; + +}); \ No newline at end of file diff --git a/app/Game/Server/Physics/Engine.js b/app/Game/Server/Physics/Engine.js new file mode 100644 index 0000000..da24b4d --- /dev/null +++ b/app/Game/Server/Physics/Engine.js @@ -0,0 +1,9 @@ +define([ + "Game/Core/Physics/Engine" +], + +function(Parent) { + + return Parent; + +}); \ No newline at end of file