3 This file is part of R²C²
4 Copyright © 2010-2011 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
8 #ifndef LIBR2C2_AICONTROL_H_
9 #define LIBR2C2_AICONTROL_H_
11 #include <sigc++/trackable.h>
18 class AIControl: public TrainAI, public sigc::trackable
38 void set_target_speed(float);
39 float get_target_speed() const { return target_speed; }
40 void set_reverse(bool);
41 bool get_reverse() const { return reverse; }
43 virtual void message(const Message &);
44 virtual void tick(const Msp::Time::TimeStamp &, const Msp::Time::TimeDelta &);