sim/Simulator.cpp
// Increases the speed of the simulation.
Increases the speed of the simulation.
Increases the speed of the simulation .
void Simulator::increaseSpeed()
{
	if ((speed + simSpeedIncrement) <= maxSimSpeed)
	{
		speed += simSpeedIncrement;
		cout << "Simulator: speed increased (" << speed << ")" << endl;
	}
	else
	{
		cout << "Simulator: at max speed" << endl;
	}
}
void Simulator :: increaseSpeed ( ) { if ( ( speed + simSpeedIncrement ) <= maxSimSpeed ) { speed += simSpeedIncrement ; cout << " " << speed << " " << endl ; } else { cout << " " << endl ; } }
Increases the speed of the simulation.
Increases the speed of the simulation .