#include "cell.h"
namespace jewels
{
Cell::Cell(unsigned jewelColor):
jewel(jewelColor),
dx(0),
dy(0),
vy(0),
scale(1)
{
}
bool Cell::empty() const
{
return jewel.empty() && !dying();
}
bool Cell::dying() const
{
return scale < 1.f;
}
}