summaryrefslogtreecommitdiffhomepage
path: root/Icons.h
diff options
context:
space:
mode:
Diffstat (limited to 'Icons.h')
-rw-r--r--Icons.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Icons.h b/Icons.h
index a6d4b89..cc68172 100644
--- a/Icons.h
+++ b/Icons.h
@@ -2,6 +2,7 @@
#include <string>
#include <unordered_map>
+#include <vector>
#include <raylib.h>
@@ -12,7 +13,10 @@ public:
Icons();
~Icons();
void reset();
+ void draw_team_icons();
Texture2D find(long int group);
+ Texture2D team_icon(int team);
private:
std::unordered_map<std::string, Texture2D> m_cache;
+ std::vector<RenderTexture2D> m_teams;
};