diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-02-08 20:48:49 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-02-08 20:48:49 +0000 |
commit | e9bd903761605c7619a235edddf07c3a0b963968 (patch) | |
tree | addc371ab13aa135976ac2c9774192cbb4a3b4b2 /yage | |
parent | 6c4772685909f1f47aa902532d955c77b8e8271d (diff) | |
download | YAGE-e9bd903761605c7619a235edddf07c3a0b963968.tar.gz YAGE-e9bd903761605c7619a235edddf07c3a0b963968.zip |
[Engine] More entity component systems options.
Diffstat (limited to 'yage')
-rw-r--r-- | yage/engine/system.h | 5 |
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; }; /** |