R-Type
1.0.1.0
Rewrite of the R-Type game with networking ability
Loading...
Searching...
No Matches
TextureManager.hpp
1
/*
2
** EPITECH PROJECT, 2023
3
** TextureManager.hpp
4
** File description:
5
** TextureManager.hpp
6
*/
7
8
#ifndef URANUS_TEXTUREMANAGER_HPP
9
#define URANUS_TEXTUREMANAGER_HPP
10
11
#include "uranus/engine/components/Texture.hpp"
12
13
namespace
engine {
14
class
TextureManager
{
15
public
:
16
void
addTexture(
const
std::string &path,
const
std::string &name);
17
18
std::shared_ptr<engine::Texture> &getTextureByName(
const
std::string &textureName);
19
20
const
std::vector<std::shared_ptr<engine::Texture>> &getTextures()
const
;
21
22
std::vector<std::shared_ptr<engine::Texture>> &getTextures();
23
24
private
:
25
std::vector<std::shared_ptr<engine::Texture>> _textures;
26
};
27
28
}
// namespace engine
29
30
#endif
// URANUS_TEXTUREMANAGER_HPP
engine::TextureManager
Definition:
TextureManager.hpp:14
client
include
uranus
engine
manager
TextureManager.hpp
Generated by
1.9.5