diff options
author | HampusM <hampus@hampusmat.com> | 2022-03-23 19:41:31 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:57 +0200 |
commit | 486ca3846b46dc229e5807968578809766ec1991 (patch) | |
tree | 65a4b7a746d6305666af06f8a1975c76244085a7 /src/interfaces/game.hpp | |
parent | b8e86ce397dc07320c02f6a5f592c7c6a4421c86 (diff) |
feat: implement generations & multithreading
Diffstat (limited to 'src/interfaces/game.hpp')
-rw-r--r-- | src/interfaces/game.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/interfaces/game.hpp b/src/interfaces/game.hpp index c99c01f..6836dbd 100644 --- a/src/interfaces/game.hpp +++ b/src/interfaces/game.hpp @@ -11,9 +11,11 @@ class IGame { public: - virtual ~IGame() = default; + virtual ~IGame() noexcept = default; - virtual void on_start() = 0; + virtual void on_start() noexcept = 0; + + virtual void on_update() noexcept = 0; virtual void on_exit() const noexcept = 0; |