Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
SystemDesign.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: SystemDesign.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Generic ship System Design class
13
*/
14
15
#ifndef SystemDesign_h
16
#define SystemDesign_h
17
18
#include "
Types.h
"
19
#include "
List.h
"
20
#include "
Text.h
"
21
22
// +--------------------------------------------------------------------+
23
24
class
ComponentDesign
;
25
26
// +--------------------------------------------------------------------+
27
28
class
SystemDesign
29
{
30
public
:
31
static
const
char
*
TYPENAME
() {
return
"SystemDesign"
; }
32
33
SystemDesign
();
34
~SystemDesign
();
35
int
operator ==
(
const
SystemDesign
& rhs)
const
{
return
name
== rhs.
name
; }
36
37
static
void
Initialize
(
const
char
* filename);
38
static
void
Close
();
39
static
SystemDesign
*
Find
(
const
char
*
name
);
40
41
// Unique ID:
42
Text
name
;
43
44
// Sub-components:
45
List<ComponentDesign>
components
;
46
47
static
List<SystemDesign>
catalog
;
48
};
49
50
// +--------------------------------------------------------------------+
51
52
53
#endif SystemDesign_h
54
Stars45
SystemDesign.h
Generated on Tue Jun 5 2012 20:47:13 for Starshatter_Open by
1.8.1