diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2022-12-12 23:55:47 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2022-12-12 23:55:47 +0100 |
commit | 4e43958f84336e3bcc4104257f51ba84e57fc4b7 (patch) | |
tree | 99ad6039c001c30982b75ca3f71f6c11717a477e /src/resourceIds.h | |
parent | d0ee939a32fc7cec65a77d028d72881ee8ea1495 (diff) |
Add TextureFonts to the ResourceManager
Diffstat (limited to 'src/resourceIds.h')
-rw-r--r-- | src/resourceIds.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/resourceIds.h b/src/resourceIds.h index 9236fb6..6e84582 100644 --- a/src/resourceIds.h +++ b/src/resourceIds.h @@ -2,14 +2,23 @@ #define RESOURCE_IDS_H #include "resourceManager.h" +#include "graphics/textureFont.h" namespace Textures{ enum class Id{ + Base_Font, Player_NE_Shooting, Player_SE_Shooting, }; } -using TextureManager = ResourceManager<sf::Texture, Textures::Id>; +namespace Fonts{ + enum class Id{ + Base_Font, + }; +} + +using TextureManager = ResourceManager<sf::Texture, Textures::Id>; +using TextureFontManager = ResourceManager<Graphics::TextureFont, Fonts::Id>; #endif // RESOURCE_IDS_H |