Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CampaignPlanMovement.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: CampaignPlanMovement.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  CampaignPlanMovement simulates random patrol movements
13  of starship groups between missions. This agitation
14  keeps the ships from bunching up in the middle of a
15  sector.
16 */
17 
18 #ifndef CampaignPlanMovement_h
19 #define CampaignPlanMovement_h
20 
21 #include "Types.h"
22 #include "CampaignPlan.h"
23 
24 // +--------------------------------------------------------------------+
25 
27 {
28 public:
29  static const char* TYPENAME() { return "CampaignPlanMovement"; }
30 
32  virtual ~CampaignPlanMovement() { }
33 
34  // operations:
35  virtual void ExecFrame();
36 
37 protected:
38  void MoveUnit(CombatUnit* u);
39 
41 };
42 
43 #endif CampaignPlanMovement_h
44