summaryrefslogtreecommitdiff
path: root/src/koopatlas/pathmanager.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/koopatlas/pathmanager.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/koopatlas/pathmanager.h b/src/koopatlas/pathmanager.h
new file mode 100644
index 0000000..3ddcf58
--- /dev/null
+++ b/src/koopatlas/pathmanager.h
@@ -0,0 +1,29 @@
+#ifndef __KOOPATLAS_PATH_MANAGER_H
+#define __KOOPATLAS_PATH_MANAGER_H
+
+#include "koopatlas/mapdata.h"
+
+class dWMPathManager_c {
+ public:
+ void setup();
+ void execute();
+
+ bool canUseExit(dKPPath_s *path) {
+ return (path != 0) && (path->isAvailable);
+ }
+
+ void startMovementTo(dKPPath_s *path);
+ void moveThroughPath();
+ void activatePoint();
+
+ dKPLayer_s *pathLayer;
+
+ bool isMoving;
+ dKPNode_s *currentNode;
+
+ dKPPath_s *currentPath;
+ bool reverseThroughPath; // direction we are going through the path
+};
+
+#endif
+