ai/testing/ca_global_fallback.hpp

Go to the documentation of this file.
00001 /* $Id: ca_global_fallback.hpp 52533 2012-01-07 02:35:17Z shadowmaster $ */
00002 /*
00003    Copyright (C) 2009 - 2012 by Yurii Chernyi <terraninfo@terraninfo.net>
00004    Part of the Battle for Wesnoth Project http://www.wesnoth.org/
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License as published by
00008    the Free Software Foundation; either version 2 of the License, or
00009    (at your option) any later version.
00010    This program is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY.
00012 
00013    See the COPYING file for more details.
00014 */
00015 
00016 /**
00017  * @file
00018  * Strategic movement routine, for experimentation
00019  */
00020 
00021 #ifndef AI_TESTING_CA_TESTING_GLOBAL_FALLBACK_HPP_INCLUDED
00022 #define AI_TESTING_CA_TESTING_GLOBAL_FALLBACK_HPP_INCLUDED
00023 
00024 #include "../composite/rca.hpp"
00025 
00026 #include "../../unit_map.hpp"
00027 
00028 #ifdef _MSC_VER
00029 #pragma warning(push)
00030 //silence "inherits via dominance" warnings
00031 #pragma warning(disable:4250)
00032 #endif
00033 
00034 namespace ai {
00035 
00036 namespace testing_ai_default {
00037 
00038 class global_fallback_phase : public candidate_action {
00039 public:
00040 
00041     global_fallback_phase( rca_context &context, const config &cfg );
00042 
00043     virtual ~global_fallback_phase();
00044 
00045     virtual double evaluate();
00046 
00047     virtual void execute();
00048 
00049 protected:
00050 };
00051 
00052 } // of namespace testing_ai_default
00053 
00054 } // of namespace ai
00055 
00056 #ifdef _MSC_VER
00057 #pragma warning(pop)
00058 #endif
00059 
00060 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Wed May 23 2012 01:02:32 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs