Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Computer.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: Computer.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Various computer systems class
13
*/
14
15
#ifndef Computer_h
16
#define Computer_h
17
18
#include "
Types.h
"
19
#include "
System.h
"
20
#include "
Geometry.h
"
21
22
// +--------------------------------------------------------------------+
23
24
class
Computer
:
public
System
25
{
26
public
:
27
enum
CompType
{
AVIONICS
=1,
FLIGHT
,
TACTICAL
};
28
29
Computer
(
int
comp_type,
const
char
* comp_name);
30
Computer
(
const
Computer
& rhs);
31
virtual
~Computer
();
32
33
virtual
void
ApplyDamage
(
double
damage);
34
virtual
void
ExecFrame
(
double
seconds);
35
virtual
void
Distribute
(
double
delivered_energy,
double
seconds);
36
37
protected
:
38
};
39
40
#endif Computer_h
41
Stars45
Computer.h
Generated on Tue Jun 5 2012 20:46:50 for Starshatter_Open by
1.8.1