src/entities/HealthPack.js
/**
	* Adds the health to the given entity.
	*
	* @param {GameEntity} entity - The entity that receives this item.
	* @return {HealthPack} A reference to this item.
	*/
Adds the health to the given entity.
@param {GameEntity} entity - The entity that receives this item.
@return {HealthPack} A reference to this item.
Adds the health to the given entity . @param { GameEntity } entity - The entity that receives this item . @return { HealthPack } A reference to this item .
addItemToEntity( entity ) {
		entity.addHealth( this.health ); 
		return this;
	}
addItemToEntity ( entity ) { entity . addHealth ( this . health ) ; return this ; }
Adds the health to the given entity.
Adds the health to the given entity .
// we assume .addHealth() is implemented by the game entity