summaryrefslogtreecommitdiffhomepage
path: root/Icons.h
blob: 367d9aaf7834950e77560f56e879dd8f579a1397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
};