blob: 039836e24b2c49e5db2d9af042ab797012fcbfd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include <cstdint>
namespace crepe {
class ComponentManager;
class Component {
protected:
friend class crepe::ComponentManager;
Component(uint32_t id);
public:
virtual ~Component() = default;
virtual int get_instances_max() const;
public:
uint32_t game_object_id;
bool active;
};
} // namespace crepe
|