diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-08-03 17:03:59 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-08-03 17:03:59 +0200 |
commit | f7decf41d8d0062901cd39c42a3669a80537c7df (patch) | |
tree | d3032265df11eee6e3eaf8b4b081524bef5e72b2 /src/ThreadGame.hpp | |
parent | 2017-07-29 (diff) | |
download | AltCraft-f7decf41d8d0062901cd39c42a3669a80537c7df.tar AltCraft-f7decf41d8d0062901cd39c42a3669a80537c7df.tar.gz AltCraft-f7decf41d8d0062901cd39c42a3669a80537c7df.tar.bz2 AltCraft-f7decf41d8d0062901cd39c42a3669a80537c7df.tar.lz AltCraft-f7decf41d8d0062901cd39c42a3669a80537c7df.tar.xz AltCraft-f7decf41d8d0062901cd39c42a3669a80537c7df.tar.zst AltCraft-f7decf41d8d0062901cd39c42a3669a80537c7df.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ThreadGame.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ThreadGame.hpp b/src/ThreadGame.hpp new file mode 100644 index 0000000..81d135f --- /dev/null +++ b/src/ThreadGame.hpp @@ -0,0 +1,14 @@ +#pragma once + +#include "Thread.hpp" +#include "GameState.hpp" +#include "Event.hpp" + +class ThreadGame: Thread { + GameState *gs = nullptr; + GlobalState state = GlobalState::InitialLoading; +public: + ThreadGame(); + ~ThreadGame(); + void Execute() override; +};
\ No newline at end of file |