#include "CS_Book.h"

CS_Book::CS_Book()
{
	ani.png = L"CS_CaveStoryMod";
	ani.sprite_index = L"ls_book";
	drawBeforeOtherEntity = true;
	cbRect.left = cbRect.right = 6;
}

void CS_Book::SetState(int stateID, int lr)
{
	ani.image_index = lr == 0 ? 0 : 1;
}

std::shared_ptr<Entity> CreateCS_Book()
{
	return std::make_shared<CS_Book>();
}
