Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
NavSystem.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: NavSystem.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  Nav Points and so on...
13 */
14 
15 #ifndef NavSystem_h
16 #define NavSystem_h
17 
18 #include "Types.h"
19 #include "Geometry.h"
20 #include "System.h"
21 
22 // +--------------------------------------------------------------------+
23 
24 class StarSystem;
25 class Orbital;
26 class OrbitalBody;
27 class OrbitalRegion;
28 class Ship;
29 
30 // +--------------------------------------------------------------------+
31 
32 class NavSystem : public System
33 {
34 public:
35  NavSystem();
36  NavSystem(const NavSystem& rhs);
37  virtual ~NavSystem();
38 
39  virtual void ExecFrame(double seconds);
40 
41  virtual void Distribute(double delivered_energy, double seconds);
42 
43  bool AutoNavEngaged();
44  void EngageAutoNav();
45  void DisengageAutoNav();
46 
47 protected:
48  bool autonav;
49 };
50 
51 // +--------------------------------------------------------------------+
52 
53 
54 #endif NavSystem_h
55