summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/Director.h
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/Director.h')
-rw-r--r--StarsEx/Director.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/StarsEx/Director.h b/StarsEx/Director.h
new file mode 100644
index 0000000..dbed513
--- /dev/null
+++ b/StarsEx/Director.h
@@ -0,0 +1,43 @@
+/* Starshatter: The Open Source Project
+ Copyright (c) 2021-2022, Starshatter: The Open Source Project Contributors
+ Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors
+ Copyright (c) 1997-2006, Destroyer Studios LLC.
+
+ AUTHOR: John DiCamillo
+
+
+ OVERVIEW
+ ========
+ Abstract Director (AI or Human Input) for Physical Objects
+*/
+
+#ifndef Director_h
+#define Director_h
+
+#include "Types.h"
+#include "Geometry.h"
+
+// +--------------------------------------------------------------------+
+
+class Physical;
+
+// +--------------------------------------------------------------------+
+
+class Director
+{
+public:
+ Director() { }
+ virtual ~Director() { }
+
+ // accessors:
+ virtual int Type() const { return 0; }
+ virtual int Subframe() const { return 0; }
+
+ // operations
+ virtual void ExecFrame(double factor) { }
+};
+
+// +--------------------------------------------------------------------+
+
+#endif // Director_h
+