Player event hasTakenDamage now calls subscribers with object parameters
refactored shared pubsub methods into entity class, fixed health bar