summaryrefslogtreecommitdiff
path: root/src/engine.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-05 21:22:16 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-05 21:22:16 +0000
commit7429ba62b4e815a44864b92e13d125e872209ed6 (patch)
tree89bbcdf37c1915696ac4c155b0ffd99c1f83c36b /src/engine.h
parent34b19f52d2f4a0b8e7eecf0900d1760460390b9d (diff)
downloadmana-7429ba62b4e815a44864b92e13d125e872209ed6.tar.gz
mana-7429ba62b4e815a44864b92e13d125e872209ed6.tar.bz2
mana-7429ba62b4e815a44864b92e13d125e872209ed6.tar.xz
mana-7429ba62b4e815a44864b92e13d125e872209ed6.zip
Remove some useless code.
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;
};