added first damage and killing

This commit is contained in:
Jeena 2014-01-21 03:14:50 +01:00
parent 2a4327c5cf
commit f22e0dd53d
9 changed files with 124 additions and 52 deletions

View file

@ -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;
});