]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/aicontrol.h
Separate train routing logic to a class derived from TrainAI
[r2c2.git] / source / libr2c2 / aicontrol.h
index 01429cdd01581481918eefe10e1d22abd6d90c0e..154a2ea5a78ee4ba1ddda9389a12ec47e4ebba4c 100644 (file)
@@ -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_
 
@@ -44,7 +37,7 @@ public:
        virtual void tick(const Msp::Time::TimeStamp &, const Msp::Time::TimeDelta &);
 
 private:
-       void arrived();
+       void event(TrainAI &, const Message &);
 };
 
 } // namespace R2C2