Chira Engine
A customizable MIT-licensed game engine.
UUIDComponent.h
1
#pragma once
2
3
#include <utility/UUIDGenerator.h>
4
5
namespace
chira {
6
7
struct
UUIDComponent
{
8
UUIDComponent
()
9
: uuid(UUIDGenerator::getNewUUID()) {}
10
11
explicit
UUIDComponent
(uuids::uuid uuid_)
12
: uuid(uuid_) {}
13
14
public
:
15
uuids::uuid uuid;
16
};
17
18
}
// namespace chira
chira::UUIDComponent
Definition:
UUIDComponent.h:7
engine
entity
component
UUIDComponent.h
Generated by
1.9.1