8#ifndef RTYPE_CLIENT_SCENES_GAMEOVERSCENE_HPP_
9 #define RTYPE_CLIENT_SCENES_GAMEOVERSCENE_HPP_
15 #include "Systems/NetworkSyncSystem.hpp"
18 #include <SFML/Graphics.hpp>
31 std::function<
void(
GameState)> changeState);
36 void onExit(
void)
override;
38 void update(
float dt)
override;
System to handle network-related operations on the client side.
Manages game settings and preferences.
Manages game translations for all UI elements.
Factory class for creating UI components in the ECS registry.
Interface for different scenes in the client application.
ecs::Registry & _uiRegistry
TranslationManager & _translationManager
graphics::UiFactory & _uiFactory
void onEnter(void) override
Called when the scene is entered.
void onExit(void) override
Called when the scene is exited.
NetworkSyncSystem & _network
std::function< void(GameState)> ChangeStateFn
void update(float dt) override
Update the scene state.
void handleEvent(const sf::Event &event) override
Handle an incoming event.
ChangeStateFn _changeState