Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/ship.h')
-rw-r--r--src/game/ship.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/ship.h b/src/game/ship.h
index 9e978bb..bca0857 100644
--- a/src/game/ship.h
+++ b/src/game/ship.h
@@ -24,12 +24,17 @@ public:
/// update the ship state
virtual void frame(float seconds);
+ /// true if the ship is equiped with a jumpdrive
+ inline bool jumpdrive() const { return ship_jumpdrive; }
+
private:
ShipModel *ship_shipmodel;
float current_target_direction;
float current_target_pitch;
float current_target_roll;
+
+ bool ship_jumpdrive;
};
}