Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
StarshipTacticalAI.h
Go to the documentation of this file.
1 /* Project Starshatter 4.5
2  Destroyer Studios LLC
3  Copyright © 1997-2004. All Rights Reserved.
4 
5  SUBSYSTEM: Stars.exe
6  FILE: StarshipTacticalAI.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  Starship-specific mid-level (tactical) AI
13 */
14 
15 #ifndef StarshipTacticalAI_h
16 #define StarshipTacticalAI_h
17 
18 #include "Types.h"
19 #include "TacticalAI.h"
20 
21 // +--------------------------------------------------------------------+
22 
24 {
25 public:
27  virtual ~StarshipTacticalAI();
28 
29  virtual void ExecFrame(double seconds);
30 
31 protected:
32  virtual void FindThreat();
33  virtual void FindSupport();
34 
35  virtual void CheckBugOut(Ship* c_ship, double range);
36 
38  int ai_level;
39  double drop_time;
41  bool bugout;
42 };
43 
44 // +--------------------------------------------------------------------+
45 
46 #endif StarshipTacticalAI_h
47