Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CombatRoster.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: CombatRoster.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  The complete roster of all known persistent entities
13  for all combatants in the game.
14 */
15 
16 #ifndef CombatRoster_h
17 #define CombatRoster_h
18 
19 #include "Types.h"
20 #include "Geometry.h"
21 #include "List.h"
22 
23 // +--------------------------------------------------------------------+
24 
25 class CombatGroup;
26 
27 // +--------------------------------------------------------------------+
28 
30 {
31  CombatRoster();
32  ~CombatRoster();
33 
34 public:
35  static const char* TYPENAME() { return "CombatRoster"; }
36 
37  static void Initialize();
38  static void Close();
39  static CombatRoster* GetInstance();
40 
41  CombatGroup* GetForce(const char* name);
42 
43 private:
44  List<CombatGroup> forces;
45 };
46 
47 
48 #endif CombatRoster_h