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