diff options
Diffstat (limited to 'Icons.h')
-rw-r--r-- | Icons.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,17 @@ +#pragma once + +#include <unordered_map> + +#include <raylib.h> + + +class Icons +{ +public: + Icons(); + ~Icons(); + void reset(); + Texture2D find(long int type); +private: + std::unordered_map<long int, Texture2D> m_cache; +}; |