diff options
author | Stijn Buys <ingar@osirion.org> | 2008-12-21 18:03:58 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-12-21 18:03:58 +0000 |
commit | 164e3c5b1cd9e6d6f7ca26964df4c54394eb1c84 (patch) | |
tree | c34e7e7747d8f76a4161a045d406c05dcbb227a3 /src/game/intro/convoy.h | |
parent | cf1f5b659873c7eb1557ce7cedc17eed6ca03185 (diff) |
multiple introductions
Diffstat (limited to 'src/game/intro/convoy.h')
-rw-r--r-- | src/game/intro/convoy.h | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/src/game/intro/convoy.h b/src/game/intro/convoy.h index 20eb0e1..14016f4 100644 --- a/src/game/intro/convoy.h +++ b/src/game/intro/convoy.h @@ -14,6 +14,8 @@ namespace intro { +/* ---- class Member ----------------------------------------------- */ + class Member : public core::EntityControlable { public: @@ -23,7 +25,9 @@ public: void frame(float seconds); }; -class Convoy +/* ---- class Convoy ----------------------------------------------- */ + +class Convoy : public core::EntityDynamic { public: Convoy(core::Zone *zone); @@ -32,27 +36,11 @@ public: void add(const char *model); void add(const std::string &model); - void frame(float seconds); - - void set_color(const math::Color &color); - void set_color_second(const math::Color &color); - - void set_location(math::Vector3f const &location); - - void set_speed(const float speed); - - void change_direction(float angle); + virtual void frame(float seconds); private: typedef std::list<Member *> Members; Members convoy_members; - core::Zone *convoy_zone; - math::Color convoy_color; - math::Color convoy_color_second; - - math::Vector3f convoy_location; - math::Axis convoy_axis; - float convoy_speed; }; } |