Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
ShipKiller.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: ShipKiller.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
ShipKiller (i.e. death spiral) class
13
*/
14
15
#ifndef ShipKiller_h
16
#define ShipKiller_h
17
18
#include "
Types.h
"
19
#include "
Geometry.h
"
20
#include "
Text.h
"
21
22
// +--------------------------------------------------------------------+
23
24
class
Ship
;
25
26
// +--------------------------------------------------------------------+
27
28
class
ShipKiller
29
{
30
public
:
31
const
float
DEATH_CAM_LINGER
;
32
33
// CONSTRUCTORS:
34
ShipKiller
(
Ship
*
ship
);
35
virtual
~ShipKiller
();
36
37
virtual
void
BeginDeathSpiral
();
38
virtual
void
ExecFrame
(
double
seconds);
39
40
// GENERAL ACCESSORS:
41
virtual
float
TransitionTime
()
const
{
return
time
; }
42
virtual
Point
TransitionLoc
()
const
{
return
loc
; }
43
44
protected
:
45
Ship
*
ship
;
46
47
float
time
;
48
Point
loc
;
49
50
float
exp_time
;
51
int
exp_index
;
52
};
53
54
#endif ShipKiller_h
55
Stars45
ShipKiller.h
Generated on Tue Jun 5 2012 20:47:11 for Starshatter_Open by
1.8.1