diff options
author | Aki <please@ignore.pl> | 2023-02-14 00:13:02 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-02-14 00:28:48 +0100 |
commit | 632c367ae6885657e6c99b96b8bf7a96b61a2bb9 (patch) | |
tree | 3b6210086d2c082533288d06f2843b9150e747dd /sim/src/BaseSimulation.h | |
parent | 2a9f378c66b28cef1c5ee063cf4d7e4e2889076e (diff) | |
download | kurator-632c367ae6885657e6c99b96b8bf7a96b61a2bb9.zip kurator-632c367ae6885657e6c99b96b8bf7a96b61a2bb9.tar.gz kurator-632c367ae6885657e6c99b96b8bf7a96b61a2bb9.tar.bz2 |
Extracted basic simulation behaviour and that part of state to own class
Diffstat (limited to 'sim/src/BaseSimulation.h')
-rw-r--r-- | sim/src/BaseSimulation.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sim/src/BaseSimulation.h b/sim/src/BaseSimulation.h new file mode 100644 index 0000000..4d73382 --- /dev/null +++ b/sim/src/BaseSimulation.h @@ -0,0 +1,26 @@ +#pragma once + +#include <kurator/engine/Context.h> +#include <kurator/sim/State.h> + +#include "TeamManager.h" + + +namespace kurator +{ +namespace sim +{ + + +class BaseSimulation +{ +public: + explicit BaseSimulation(State& ctx); + void operator()(engine::Context& ctx); +private: + TeamManager manager; +}; + + +} // namespace sim +} // namespace kurator |