R-Type
Distributed multiplayer game engine in C++
Loading...
Searching...
No Matches
GameState.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** GameState.hpp
6*/
7
8#pragma once
9
10namespace server {
11
16 class GameState {
17 public:
18 GameState() = default;
19 virtual ~GameState() = default;
20
21 // Prototypes
22 virtual void enter() = 0;
23 virtual void exit() = 0;
24 virtual void update(float dt) = 0;
25 };
26
27} // namespace server
Represents a single game state.
Definition GameState.hpp:16
virtual void enter()=0
virtual ~GameState()=default
virtual void update(float dt)=0
virtual void exit()=0
GameState()=default