diff options
Diffstat (limited to 'Stars45/CombatAssignment.h')
-rw-r--r-- | Stars45/CombatAssignment.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/Stars45/CombatAssignment.h b/Stars45/CombatAssignment.h index cd4cebb..2d4d0a6 100644 --- a/Stars45/CombatAssignment.h +++ b/Stars45/CombatAssignment.h @@ -1,15 +1,15 @@ /* Project Starshatter 4.5
- Destroyer Studios LLC
- Copyright © 1997-2004. All Rights Reserved.
+ Destroyer Studios LLC
+ Copyright © 1997-2004. All Rights Reserved.
- SUBSYSTEM: Stars.exe
- FILE: CombatAssignment.h
- AUTHOR: John DiCamillo
+ SUBSYSTEM: Stars.exe
+ FILE: CombatAssignment.h
+ AUTHOR: John DiCamillo
- OVERVIEW
- ========
- High level assignment of one group to damage another
+ OVERVIEW
+ ========
+ High level assignment of one group to damage another
*/
#ifndef CombatAssignment_h
@@ -28,29 +28,29 @@ class SimRegion; class CombatAssignment
{
public:
- static const char* TYPENAME() { return "CombatAssignment"; }
+ static const char* TYPENAME() { return "CombatAssignment"; }
- CombatAssignment(int t, CombatGroup* obj, CombatGroup* rsc=0);
- ~CombatAssignment();
+ CombatAssignment(int t, CombatGroup* obj, CombatGroup* rsc=0);
+ ~CombatAssignment();
- int operator < (const CombatAssignment& a) const;
+ int operator < (const CombatAssignment& a) const;
- // operations:
- void SetObjective(CombatGroup* o) { objective = o; }
- void SetResource(CombatGroup* r) { resource = r; }
+ // operations:
+ void SetObjective(CombatGroup* o) { objective = o; }
+ void SetResource(CombatGroup* r) { resource = r; }
- // accessors:
- int Type() { return type; }
- CombatGroup* GetObjective() { return objective; }
- CombatGroup* GetResource() { return resource; }
+ // accessors:
+ int Type() { return type; }
+ CombatGroup* GetObjective() { return objective; }
+ CombatGroup* GetResource() { return resource; }
- const char* GetDescription() const;
- bool IsActive() const { return resource != 0; }
+ const char* GetDescription() const;
+ bool IsActive() const { return resource != 0; }
private:
- int type;
- CombatGroup* objective;
- CombatGroup* resource;
+ int type;
+ CombatGroup* objective;
+ CombatGroup* resource;
};
|