Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
CampaignPlanAssignment.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: CampaignPlanAssignment.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
CampaignPlanAssignment creates combat assignments for
13
assets within each combat zone as the third step in
14
force tasking.
15
*/
16
17
#ifndef CampaignPlanAssignment_h
18
#define CampaignPlanAssignment_h
19
20
#include "
Types.h
"
21
#include "
CampaignPlan.h
"
22
23
// +--------------------------------------------------------------------+
24
25
class
CombatGroup
;
26
class
CombatUnit
;
27
class
CombatZone
;
28
29
// +--------------------------------------------------------------------+
30
31
class
CampaignPlanAssignment
:
public
CampaignPlan
32
{
33
public
:
34
static
const
char
*
TYPENAME
() {
return
"CampaignPlanAssignment"
; }
35
36
CampaignPlanAssignment
(
Campaign
* c) :
CampaignPlan
(c) { }
37
virtual
~CampaignPlanAssignment
() { }
38
39
// operations:
40
virtual
void
ExecFrame
();
41
42
protected
:
43
virtual
void
ProcessCombatant
(
Combatant
* c);
44
virtual
void
ProcessZone
(
Combatant
* c,
CombatZone
* zone);
45
virtual
void
BuildZoneList
(
CombatGroup
* g,
CombatZone
* zone,
List<CombatGroup>
& list);
46
virtual
void
BuildAssetList
(
const
int
* pref,
List<CombatGroup>
& avail,
List<CombatGroup>
& assets);
47
};
48
49
#endif CampaignPlanAssignment_h
50
Stars45
CampaignPlanAssignment.h
Generated on Tue Jun 5 2012 20:46:46 for Starshatter_Open by
1.8.1