Uranus
1.0.1.0
Uranus is a GameEngine written in C++
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 "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
private
:
21
std::vector<std::shared_ptr<engine::Texture>> _textures;
22
};
23
24
}
// namespace engine
25
26
#endif
// URANUS_TEXTUREMANAGER_HPP
engine::TextureManager
Definition:
TextureManager.hpp:14
include
uranus
engine
TextureManager.hpp
Generated by
1.9.5