feat: Random airfield spawning
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "aircraft.hpp"
|
||||
|
||||
void dxd::sim::Aircraft::tick(float timestep, vec2 bounds)
|
||||
void dxd::sim::Aircraft::tick(float timestep, World *world)
|
||||
{
|
||||
_position = _position + polar_to_vec2(_direction, _speed) * timestep;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user