mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
17 lines
No EOL
376 B
JavaScript
Executable file
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;
|
|
}); |