R-Type
Distributed multiplayer game engine in C++
Loading...
Searching...
No Matches
IGameStateManager.hpp
Go to the documentation of this file.
1/*
2** EPITECH PROJECT, 2025
3** Created by hugo on 06/12/2025
4** File description:
5** IGameStateManager.hpp
6*/
7
8#pragma once
9
10#include <memory>
11
12namespace server {
13
19 public:
20 virtual ~IGameStateManager() = default;
21
22 // Prototypes
23 virtual void changeState(int stateID) = 0;
24 virtual int getCurrentState() const = 0;
25 };
26
27} // namespace server
Interface for managing game states.
virtual int getCurrentState() const =0
virtual ~IGameStateManager()=default
virtual void changeState(int stateID)=0