#include "CS_PuppyBarkMark.h"

void CS_PuppyBarkMark::SetState(int stateID, int lr)
{
	if (el.arg.length() && ParseInts(el.arg.c_str(), argbuff))
	{
		if (argbuff.size() == 4)
		{
			cbRect.left = (float)argbuff[0];
			cbRect.right = (float)argbuff[1];
			cbRect.top = (float)argbuff[2];
			cbRect.bottom = (float)argbuff[3];
		}
	}
}

std::shared_ptr<Entity> CreateCS_PuppyBarkMark()
{
	return std::make_shared<CS_PuppyBarkMark>();
}
