# ai_testmode.hpp

Go to the documentation of this file.

    00001 /* $Id: ai_testmode.hpp 15060 2009-01-13 15:44:36Z smatz $ */
    00002
    00005 #ifndef AI_TESTMODE_HPP
    00006 #define AI_TESTMODE_HPP
    00007
    00008 #include "ai_object.hpp"
    00009
    00019 class AITestMode : public AIObject {
    00020 public:
    00021   static const char *GetClassName() { return "AITestMode"; }
    00022
    00023 private:
    00024   AIModeProc *last_mode;
    00025   AIObject *last_instance;
    00026
    00027 protected:
    00031   static bool ModeProc(TileIndex tile, uint32 p1, uint32 p2, uint procc, CommandCost costs);
    00032
    00033 public:
    00039   AITestMode();
    00040
    00045   ~AITestMode();
    00046 };
    00047
    00048 #endif /* AI_TESTMODE_HPP */