src/ai/api/ai_testmode.hpp
branchnoai
changeset 9475 58c20c0e394f
parent 9473 dcbcd1c4496d
child 9486 a9b5f6b8667c
equal deleted inserted replaced
9474:2b53e154a8d5 9475:58c20c0e394f
    20 private:
    20 private:
    21 	AIModeProc *last_mode;
    21 	AIModeProc *last_mode;
    22 	AIObject *last_instance;
    22 	AIObject *last_instance;
    23 
    23 
    24 protected:
    24 protected:
       
    25 	/**
       
    26 	 * The callback proc for Testing mode.
       
    27 	 */
    25 	static bool ModeProc(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc, int32 costs);
    28 	static bool ModeProc(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc, int32 costs);
    26 
    29 
    27 public:
    30 public:
    28 	/**
    31 	/**
    29 	 * Creating instance of this class switches the build mode to Testing.
    32 	 * Creating instance of this class switches the build mode to Testing.