1 #ifndef LIBR2C2_AICONTROL_H_
2 #define LIBR2C2_AICONTROL_H_
4 #include <sigc++/trackable.h>
11 class AIControl: public TrainAI, public sigc::trackable
31 void set_target_speed(float);
32 float get_target_speed() const { return target_speed; }
33 void set_reverse(bool);
34 bool get_reverse() const { return reverse; }
36 virtual void message(const Message &);
37 virtual void tick(const Msp::Time::TimeDelta &);
38 virtual bool has_intent_to_move() const;
41 void event(TrainAI &, const Message &);