Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef AI_FORMULA_STAGE_UNIT_FORMULAS_HPP_INCLUDED
00023 #define AI_FORMULA_STAGE_UNIT_FORMULAS_HPP_INCLUDED
00024
00025 #include "../composite/stage.hpp"
00026
00027
00028 #ifdef _MSC_VER
00029 #pragma warning(push)
00030
00031 #pragma warning(disable:4250)
00032 #endif
00033
00034 namespace ai {
00035
00036 class formula_ai;
00037
00038 class stage_unit_formulas: public stage {
00039 public:
00040 stage_unit_formulas( ai_context &context, const config &cfg, formula_ai &fai );
00041
00042 virtual ~stage_unit_formulas();
00043
00044 bool do_play_stage();
00045
00046 void on_create();
00047
00048 config to_config() const;
00049
00050 private:
00051 const config &cfg_;
00052 formula_ai &fai_;
00053
00054 };
00055
00056 }
00057
00058 #ifdef _MSC_VER
00059 #pragma warning(pop)
00060 #endif
00061
00062 #endif