diff options
Diffstat (limited to '')
-rw-r--r-- | src/ThreadRender.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ThreadRender.cpp b/src/ThreadRender.cpp new file mode 100644 index 0000000..540be52 --- /dev/null +++ b/src/ThreadRender.cpp @@ -0,0 +1,13 @@ +#include "ThreadRender.hpp" + +ThreadRender::ThreadRender() { + render = new Render(900, 480, "AltCraft"); +} + +ThreadRender::~ThreadRender() { + delete render; +} + +void ThreadRender::Execute() { + render->ExecuteRenderLoop(); +} |