00001 // ---------------------------------------------------------------------------- 00002 // 00003 // tagGame - Example code from the book: 00004 // 00005 // Artficial Intelligence for Computer Games: An Introduction 00006 // by John David Funge 00007 // 00008 // www.ai4games.org 00009 // 00010 // Source code distributed under the Copyright (c) 2003-2007, John David Funge 00011 // Original author: John David Funge (www.jfunge.com) 00012 // 00013 // Licensed under the Academic Free License version 3.0 00014 // (for details see LICENSE.txt in this directory). 00015 // 00016 // ---------------------------------------------------------------------------- 00017 00018 #ifndef TG_CONTROLLEREVADE_H 00019 #define TG_CONTROLLEREVADE_H 00020 00021 #include "Controller.h" 00022 00023 namespace tagGame 00024 { 00027 class ControllerEvade : public Controller 00028 { 00029 public: 00030 ControllerEvade(PerceptionPtr perception); 00031 virtual ~ControllerEvade(); 00032 00033 virtual void calcAction(); 00034 00035 protected: 00036 private: 00037 }; 00038 } 00039 00040 #endif
1.5.1