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

#include <functional>

#include <raylib.h>

#include "Wreck.h"


struct Label
{
    Vector2 pos;
    Vector2 base;
    float depth;
    float length;
    bool hover;
    std::reference_wrapper<const Wreck> wreck;
    Texture2D texture;
};