chuck.js/app/Game/Server/Collision/Detector.js
2013-12-09 17:35:29 +01:00

17 lines
No EOL
376 B
JavaScript
Executable file

define([
"Game/Core/Collision/Detector"
],
function (Parent) {
function Detector (player) {
Parent.call(this, player);
}
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;
});