#include "CS_Signboard_Bar.h"

CS_Signboard_Bar::CS_Signboard_Bar()
{
	ani.png = L"CS_CaveStoryMod";
}

void CS_Signboard_Bar::SetState(int stateID, int lr)
{
	this->lr = lr;
	ani.sprite_index = lr == 0 ? L"ls_signboard_bar_open" : L"ls_signboard_bar_close";
}

std::shared_ptr<Entity> CreateCS_Signboard_Bar()
{
	return std::make_shared<CS_Signboard_Bar>();
}
