blob: 3c2d8da98673f6a2dc52ebb3bb586aa97733d369 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include <thread>
#include <memory>
#include "Render.hpp"
#include "Event.hpp"
class Core {
std::thread coreLoop;
std::thread networkLoop;
Render* render;
GlobalState globalState = GlobalState::InitialLoading;
void ExecuteCoreLoop();
void ExecuteNetworkLoop();
public:
Core();
~Core();
void ExecuteRenderLoop();
};
|