From e9bd903761605c7619a235edddf07c3a0b963968 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Thu, 8 Feb 2018 20:48:49 +0000 Subject: [Engine] More entity component systems options. --- yage/engine/system.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'yage') 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; }; /** -- cgit