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/intro/convoy.h')
-rw-r--r--src/game/intro/convoy.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/game/intro/convoy.h b/src/game/intro/convoy.h
index 8f8a64d..20eb0e1 100644
--- a/src/game/intro/convoy.h
+++ b/src/game/intro/convoy.h
@@ -30,12 +30,18 @@ public:
~Convoy();
void add(const char *model);
- void add(std::string const &model);
+ void add(const std::string &model);
void frame(float seconds);
- void set_color(math::Color const &color);
- void set_color_second(math::Color const &color);
+ 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);
private:
typedef std::list<Member *> Members;
@@ -43,6 +49,10 @@ private:
core::Zone *convoy_zone;
math::Color convoy_color;
math::Color convoy_color_second;
+
+ math::Vector3f convoy_location;
+ math::Axis convoy_axis;
+ float convoy_speed;
};
}