added player health action view

This commit is contained in:
logsol 2014-02-17 16:30:59 +01:00
parent c3aee14f23
commit aa6fdaa2df
8 changed files with 214 additions and 44 deletions

View file

@ -79,7 +79,7 @@ function (Doll, Settings, NotificationCenter) {
this.holdingItem = null;
};
Player.prototype.kill = function(killedBy) {
Player.prototype.kill = function(killedByPlayer) {
if(!this.isSpawned) return false;
// FIXME: do something better then just respawn in GameController