blob: d5a7c36fd9940583f53843ea2664b2053b5332b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#pragma once
#include <cstdint>
#include <string>
namespace crepe {
class GameObject {
public:
GameObject(uint32_t id, std::string name, std::string tag, int layer);
template <typename T, typename... Args>
void add_component(Args &&... args);
uint32_t id;
std::string name;
std::string tag;
bool active;
int layer;
};
} // namespace crepe
#include "GameObject.hpp"
|