#include "entity_shop_item_health.h"

/* Initializes an shop item health entity. */
void
entity_shop_item_health_init(ECS* ecs, u32 id, u32 affectedID, u32 affectedID2)
{
	ComponentShopItem* shopItem;

	shopItem = ecs_component_add(ecs, ECS_COMPONENT_SHOP_ITEM, id);

	component_shop_item_init
	(
		shopItem,
		SHOP_ITEM_HEALTH,
		ENTITY_SHOP_ITEM_HEALTH_PRICE,
		ENTITY_SHOP_ITEM_HEALTH_EXPONENT,
		affectedID,
		affectedID2
	);
}
