summaryrefslogtreecommitdiffhomepage
path: root/Icons.h
blob: a6d4b89dfce33f5dbda7265b45cf727a5edac074 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <string>
#include <unordered_map>

#include <raylib.h>


class Icons
{
public:
    Icons();
    ~Icons();
    void reset();
    Texture2D find(long int group);
private:
    std::unordered_map<std::string, Texture2D> m_cache;
};