aboutsummaryrefslogtreecommitdiffstats
path: root/yage
diff options
context:
space:
mode:
Diffstat (limited to 'yage')
-rw-r--r--yage/engine/system.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/yage/engine/system.h b/yage/engine/system.h
index 32d6fc34..9100fa17 100644
--- a/yage/engine/system.h
+++ b/yage/engine/system.h
@@ -36,6 +36,11 @@ public:
* @param dt The time difference between the previous frame and the current one.
*/
virtual void update(double dt) = 0;
+
+ /**
+ * Destroy the system and the components that are contained in it.
+ */
+ virtual void destroy() = 0;
};
/**