aboutsummaryrefslogtreecommitdiff
path: root/src/drone.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/drone.hh')
-rw-r--r--src/drone.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drone.hh b/src/drone.hh
index 873bb27..bc69554 100644
--- a/src/drone.hh
+++ b/src/drone.hh
@@ -22,6 +22,7 @@ class Drone {
QVector<Waypoint> waypoints;
QVector3D pos;
int id;
+ double speed = 0;
public:
Drone(int id);
@@ -30,6 +31,7 @@ public:
void setTo(int frame);
const QVector3D getPos() const;
int getId() const;
+ double getSpeed() const;
const OpenGLMesh *getMesh() const;
};