mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
context awarenes in Core
This commit is contained in:
parent
b82b02d4ab
commit
c1a4f16cc4
14 changed files with 50 additions and 14 deletions
|
|
@ -1,9 +1,8 @@
|
|||
define([
|
||||
"Game/Core/Collision/Detector",
|
||||
"Lib/Vendor/Box2D"
|
||||
"Game/Core/Collision/Detector"
|
||||
],
|
||||
|
||||
function (Parent, Box2D) {
|
||||
function (Parent) {
|
||||
|
||||
function Detector (player) {
|
||||
Parent.call(this, player);
|
||||
|
|
@ -11,5 +10,8 @@ function (Parent, Box2D) {
|
|||
|
||||
Detector.prototype = Object.create(Parent.prototype);
|
||||
|
||||
Detector.IDENTIFIER = Parent.IDENTIFIER; // Needed because otherwise it will not be
|
||||
// inherited because it is not in prototype
|
||||
|
||||
return Detector;
|
||||
});
|
||||
9
app/Game/Client/Loader/Level.js
Normal file
9
app/Game/Client/Loader/Level.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
define([
|
||||
"Game/Core/Loader/Level"
|
||||
],
|
||||
|
||||
function(Parent) {
|
||||
|
||||
return Parent;
|
||||
|
||||
});
|
||||
9
app/Game/Client/Physics/Doll.js
Normal file
9
app/Game/Client/Physics/Doll.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
define([
|
||||
"Game/Core/Physics/Doll"
|
||||
],
|
||||
|
||||
function(Parent) {
|
||||
|
||||
return Parent;
|
||||
|
||||
});
|
||||
9
app/Game/Client/Player.js
Normal file
9
app/Game/Client/Player.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
define([
|
||||
"Game/Core/Player"
|
||||
],
|
||||
|
||||
function(Parent) {
|
||||
|
||||
return Parent;
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue