ai_execmode.hpp

Go to the documentation of this file.
00001 /* $Id: ai_execmode.hpp 15060 2009-01-13 15:44:36Z smatz $ */
00002 
00005 #ifndef AI_EXECMODE_HPP
00006 #define AI_EXECMODE_HPP
00007 
00008 #include "ai_object.hpp"
00009 
00017 class AIExecMode : public AIObject {
00018 public:
00019   static const char *GetClassName() { return "AIExecMode"; }
00020 
00021 private:
00022   AIModeProc *last_mode;
00023   AIObject *last_instance;
00024 
00025 protected:
00029   static bool ModeProc(TileIndex tile, uint32 p1, uint32 p2, uint procc, CommandCost costs);
00030 
00031 public:
00037   AIExecMode();
00038 
00043   ~AIExecMode();
00044 };
00045 
00046 #endif /* AI_EXECMODE_HPP */

Generated on Fri Jul 31 22:33:12 2009 for OpenTTD by  doxygen 1.5.6