#include "CS_PrisonBars.h"

CS_PrisonBars::CS_PrisonBars()
{
	ani.png = L"CS_CaveStoryMod";
	ani.sprite_index = L"ls_prisonbars";
	cbRect.enableCbRect = true;
	cbRect.enableSoild = true;
	cbRect.enableSelfSoild = true;
	cbRect.enableMovePlatform = true;
	cbRect.left = 8;
	cbRect.top = 24;
	cbRect.right = 8;
	cbRect.bottom = 8;
}

bool CS_PrisonBars::Hurt(std::weak_ptr<Entity> src, int getDamage, float angle, bool bTakedown, int elemType, float shockForce, float heavy, int* outRealDamage)
{
	*outRealDamage = 0;
	return true;
}

std::shared_ptr<Entity> CreateCS_PrisonBars()
{
	return std::make_shared<CS_PrisonBars>();
}
