summaryrefslogtreecommitdiff
path: root/src/engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.h')
-rw-r--r--src/engine.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/engine.h b/src/engine.h
index 25367436..8ab8fb05 100644
--- a/src/engine.h
+++ b/src/engine.h
@@ -68,7 +68,14 @@ class Engine
*/
void draw(Graphics *graphics);
+ /**
+ * Toggles whether the path debug graphics are shown
+ */
+ void toggleDebugPath() { mShowDebugPath = !mShowDebugPath; };
+
private:
+ bool mShowDebugPath;
+
Map *mCurrentMap;
Image *attackTarget;
};