Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CampaignPlan.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: CampaignPlan.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  CampaignPlan defines the interface for all campaign
13  planning algorithms. Known subclasses:
14  CampaignPlanStrategic - strategic planning
15  CampaignPlanAssignment - logistics planning
16  CampaignPlanMission - mission planning
17  CampaignPlanMovement - starship movement
18  CampaignPlanEvent - scripted events
19 */
20 
21 #ifndef CampaignPlan_h
22 #define CampaignPlan_h
23 
24 #include "Types.h"
25 #include "Text.h"
26 #include "Term.h"
27 #include "List.h"
28 
29 // +--------------------------------------------------------------------+
30 
31 class Campaign;
32 class Combatant;
33 class CombatGroup;
34 class CombatUnit;
35 
36 // +--------------------------------------------------------------------+
37 
39 {
40 public:
41  static const char* TYPENAME() { return "CampaignPlan"; }
42 
44  virtual ~CampaignPlan() { }
45 
46  int operator == (const CampaignPlan& p) const { return this == &p; }
47 
48  // operations:
49  virtual void ExecFrame() { }
50  virtual void SetLockout(int seconds) { }
51 
52 protected:
54  double exec_time;
55 };
56 
57 #endif CampaignPlan_h
58