示例#1
0
void DemoLogic_LV3::Update(GameData& gd)
{
	UNREFERENCED_PARAMETER(gd);
	std::cout << "DemoLogic_LV3 Update\n";

	BasicControl();
	LightControl();
	ParticleExplosion(gd.dt);
}
示例#2
0
void ippEmitter::Create()
{
	if( isExplosion )
	{
		if( hasExploded == false )
		{
			ParticleExplosion();
		}
	}
	else
	{
		if( TimeHasPass( 1.0f ) )
		{
			ParticleTrail();
		}
	}
}