Exemple #1
0
 void operator() (Aircraft& aircraft, sf::Time) const
 {
   aircraft.accelerate(velocity);
 }
Exemple #2
0
	void operator() (Aircraft& aircraft, sf::Time) const
	{
		aircraft.accelerate(velocity * aircraft.getMaxSpeed());
	}