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