Example #1
0
bool cDropSpenserEntity::Tick(float a_Dt, cChunk & a_Chunk)
{
	if (!m_ShouldDropSpense)
	{
		return false;
	}
	
	m_ShouldDropSpense = false;
	DropSpense(a_Chunk);
	return true;
}
Example #2
0
bool cDropSpenserEntity::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
{
	UNUSED(a_Dt);
	if (!m_ShouldDropSpense)
	{
		return false;
	}
	
	m_ShouldDropSpense = false;
	DropSpense(a_Chunk);
	return true;
}