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

namespace crepe {

class Component {
protected:
	Component() = default;

public:
	Component(uint32_t id);
	virtual ~Component() {}
	// TODO: shouldn't this constructor be deleted because this class will never
	// directly be instantiated?
	//changed so it sets the id (jaro)
	uint32_t gameObjectId;
	bool active;
};

} // namespace crepe