Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Director.h
Go to the documentation of this file.
1 /* Project nGen
2  John DiCamillo
3  Copyright © 1997-2002. All Rights Reserved.
4 
5  SUBSYSTEM: nGen.lib
6  FILE: Director.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  Abstract Director (AI or Human Input) for Physical Objects
13 */
14 
15 #ifndef Director_h
16 #define Director_h
17 
18 #include "Types.h"
19 #include "Geometry.h"
20 
21 // +--------------------------------------------------------------------+
22 
23 class Physical;
24 
25 // +--------------------------------------------------------------------+
26 
27 class Director
28 {
29 public:
30  Director() { }
31  virtual ~Director() { }
32 
33  // accessors:
34  virtual int Type() const { return 0; }
35  virtual int Subframe() const { return 0; }
36 
37  // operations
38  virtual void ExecFrame(double factor) { }
39 };
40 
41 // +--------------------------------------------------------------------+
42 
43 #endif Director_h
44