Répârâge

This commit is contained in:
MarcEricMartel
2023-10-27 14:08:06 -04:00
parent c1faaca417
commit 8970bc33a1
3 changed files with 8 additions and 3 deletions

View File

@@ -19,6 +19,7 @@
#include "textureatlas.h"
#include "connector.h"
#include "renderer.h"
#include "remoteplayer.h"
class Engine : public OpenglContext {
public:
@@ -79,8 +80,10 @@ private:
Bullet* m_bullets[MAX_BULLETS];
std::map<uint64_t, RemotePlayer*> m_players;
//Menu
enum class GameState { MAIN_MENU, OPTIONS, QUIT, NEWG, PLAY };
enum class GameState: uint8_t { MAIN_MENU, OPTIONS, QUIT, NEWG, PLAY };
GameState m_gamestate = GameState::MAIN_MENU;
Texture MenuTitleTexture,
MenuBGTexture,