summaryrefslogtreecommitdiffhomepage
path: root/Icons.h
diff options
context:
space:
mode:
Diffstat (limited to 'Icons.h')
-rw-r--r--Icons.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Icons.h b/Icons.h
new file mode 100644
index 0000000..367d9aa
--- /dev/null
+++ b/Icons.h
@@ -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;
+};