X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Faicontrol.h;h=a9f9de14c92c0bff35ab3dfb1357486eb524d075;hb=19a73af1fb956636cb8b9d563ffb6a42e827a5bf;hp=01429cdd01581481918eefe10e1d22abd6d90c0e;hpb=d3a7a9e9ad694d52ccca8b6038501772fdc1dfd5;p=r2c2.git diff --git a/source/libr2c2/aicontrol.h b/source/libr2c2/aicontrol.h index 01429cd..a9f9de1 100644 --- a/source/libr2c2/aicontrol.h +++ b/source/libr2c2/aicontrol.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2010-2011 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #ifndef LIBR2C2_AICONTROL_H_ #define LIBR2C2_AICONTROL_H_ @@ -41,10 +34,11 @@ public: bool get_reverse() const { return reverse; } virtual void message(const Message &); - virtual void tick(const Msp::Time::TimeStamp &, const Msp::Time::TimeDelta &); + virtual void tick(const Msp::Time::TimeDelta &); + virtual bool has_intent_to_move() const; private: - void arrived(); + void event(TrainAI &, const Message &); }; } // namespace R2C2