Example #1
0
void Block::DoBreak()
{
   hp -= 1;

   if (hp == 0)
      SetNeedToClean();
}
Example #2
0
void Water::DoBreak()
{
	SetNeedToClean();
}