R-Type
Distributed multiplayer game engine in C++
Loading...
Searching...
No Matches
GameEvent.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** GameEvent.hpp
6*/
7
8#pragma once
9
10#include <string>
12
13namespace server {
14
19 class GameEvent : public IEvent {
20 public:
30
31 explicit GameEvent(Type type);
32 virtual ~GameEvent() override = default;
33
37 Type getType() const;
38
39 private:
41 };
42
43} // namespace server
Base class for all game-related events.
Definition GameEvent.hpp:19
virtual ~GameEvent() override=default
Type getType() const
Get the type of the event.
Definition GameEvent.cpp:14
Base interface for all events.
Definition IEvent.hpp:18