Throwing with Swiper, working but needs to be refined. No angulat verlocity yet.

This commit is contained in:
Jeena 2014-12-07 00:57:05 +01:00
parent 6d9d02615a
commit cf2182676b
5 changed files with 198 additions and 85 deletions

View file

@ -102,6 +102,10 @@ function (Parent, Nc, Settings) {
}
};
Player.prototype.isHoldingSomething = function() {
return !!this.holdingItem;
};
Player.prototype.destroy = function() {
clearTimeout(this.healthBarViewVisibleTimeout);
Nc.trigger(Nc.ns.client.view.healthBar.remove, this.healthBarView);