aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Component.h
blob: bc448657ca43f40d961bc238e38772868ab02376 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include <cstdint>

namespace crepe {

class ComponentManager;

class Component {
protected:
	friend class crepe::ComponentManager;
	Component(uint32_t id);

public:
	virtual ~Component() = default;

public:
	uint32_t game_object_id;
	bool active;
};

} // namespace crepe