mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
added first damage and killing
This commit is contained in:
parent
2a4327c5cf
commit
f22e0dd53d
9 changed files with 124 additions and 52 deletions
|
|
@ -4,14 +4,12 @@ define([
|
|||
|
||||
function (Parent) {
|
||||
|
||||
function Detector (player) {
|
||||
Parent.call(this, player);
|
||||
function Detector () {
|
||||
Parent.call(this);
|
||||
}
|
||||
|
||||
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;
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue