JustAnotherDnDGame 0.1.0
Jeu de rôle tactique au d20, vue de dessus, en C++/Qt
Loading...
Searching...
No Matches
SoundTriggers.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Valentin Eloy
2// SPDX-License-Identifier: GPL-3.0-or-later
3
4#pragma once
5
6#include <optional>
7#include <string>
8
10
15
16namespace hmi {
17
30[[nodiscard]] std::optional<std::string> soundForEvent(GameEvent event);
31
32} // namespace hmi
Détection pure des transitions d'état du jeu et de l'IHM (EX-REN-047, LOT-60).
Definition AudioEngine.cpp:15
GameEvent
Événement discret survenu sur un pas de simulation ou une action d'interface.
Definition GameEvents.h:28
std::optional< std::string > soundForEvent(GameEvent event)
Associe un hmi::GameEvent à un identifiant de hmi::SoundCatalog.
Definition SoundTriggers.cpp:8