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
12
namespace
server
{
13
18
class
IGameStateManager
{
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
server::IGameStateManager
Interface for managing game states.
Definition
IGameStateManager.hpp:18
server::IGameStateManager::getCurrentState
virtual int getCurrentState() const =0
server::IGameStateManager::~IGameStateManager
virtual ~IGameStateManager()=default
server::IGameStateManager::changeState
virtual void changeState(int stateID)=0
server
Definition
CommandContext.hpp:16
server
Game
StateManager
IGameStateManager.hpp
Generated by
1.9.8