malena
Why malena
Quick start
Tutorials
API docs
GitHub
GitHub
Tutorials
Loading...
Searching...
No Matches
Resources
SoundManager.h
Go to the documentation of this file.
1
// Copyright (c) 2025 Dave R. Smith. All rights reserved.
2
// Malena Framework — Proprietary Software. See LICENSE for terms.
3
4
//
5
// Created by Dave Smith on 10/3/25.
6
//
7
8
#ifndef MALENA_SOUNDMANAGER_H
9
#define MALENA_SOUNDMANAGER_H
10
11
#include <
Malena/Core/malena_export.h
>
12
#include <
Malena/Resources/ResourceManager.h
>
13
#include <
SFML/Audio/SoundBuffer.hpp
>
14
15
namespace
ml
16
{
49
template
<
typename
Manifest>
50
class
SoundManager
:
public
ml::ResourceManager
<Manifest, sf::SoundBuffer>
51
{};
52
53
}
// namespace ml
54
55
#endif
// MALENA_SOUNDMANAGER_H
ResourceManager.h
SoundBuffer.hpp
ml::ResourceManager
Generic manifest-driven resource cache.
Definition
ResourceManager.h:43
ml::SoundManager
Manifest-driven cache for sf::SoundBuffer resources.
Definition
SoundManager.h:51
malena_export.h
ml
Definition
Component.h:22