chore: Initial commit

This commit is contained in:
2026-04-16 21:30:35 +01:00
commit 1d12a23e15
13 changed files with 430 additions and 0 deletions

24
src/sim/aircraft.hpp Normal file
View File

@@ -0,0 +1,24 @@
#pragma once
#include "../math.hpp"
#include "world_object.hpp"
namespace dxd::sim
{
class Aircraft : public WorldObject
{
private:
vec2 _position;
float _direction;
float _speed;
public:
Aircraft(vec2 position, float direction, float speed)
: _position(position), _direction(direction), _speed(speed) {}
void tick(float timestep, vec2 bounds) override;
void draw(Renderer *rend) override;
};
} // namespace dxd::sim