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 {
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