blob: f0f5ea09f92762d8156d1e2fff0b427107853f5c (
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>
#include <string>
namespace crepe {
class GameObject {
public:
GameObject(std::uint32_t id, std::string name, std::string tag, int layer);
template <typename T, typename... Args>
void add_component(Args &&... args);
std::uint32_t m_id;
std::string m_name;
std::string m_tag;
bool m_active;
int m_layer;
};
} // namespace crepe
|