blob: 82140a02fb1375d467b931dab6a17137c527b9a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include "Component.h"
#include "api/EventHandler.h"
namespace crepe {
class UiObject : public Component{
public:
UiObject(game_object_id_t id) : Component(id){};
int width = 0;
int height = 0;
public:
virtual int get_instances_max() const { return 1; }
};
}
|