From 343896eeaa97009fb06096dc5bcc097bf1bd287d Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 8 Mar 2008 14:35:58 +0000 Subject: added ships.ini --- src/game/ship.h | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'src/game/ship.h') diff --git a/src/game/ship.h b/src/game/ship.h index 88f42e5..633c722 100644 --- a/src/game/ship.h +++ b/src/game/ship.h @@ -9,6 +9,7 @@ #include "core/player.h" #include "core/entity.h" +#include "game/shipmodel.h" #include "math/vector3f.h" namespace game { @@ -17,21 +18,14 @@ namespace game { class Ship : public core::EntityControlable { public: - Ship(core::Player *owner, std::string const & model); + Ship(core::Player *owner, ShipModel *shipmodel); ~Ship(); /// update the ship state virtual void frame(float seconds); - /* -- Ship SPECS --*/ - /// acceleration - float acceleration; - - /// maximum speed - float max_speed; - - /// turn speed in rotations per second - float turn_speed; +private: + ShipModel *ship_shipmodel; }; } -- cgit v1.2.3