UUID: Removed empty constructor, added static Create-Function

This commit is contained in:
Simon Lübeß
2023-09-13 13:14:54 +02:00
parent 370eaf9bc7
commit ff54eb738e
3 changed files with 8 additions and 8 deletions
@@ -27,7 +27,7 @@ namespace GlitchyEngine.World
/// Create a new IDComponent with a random UUID.
public this()
{
ID = UUID();
ID = UUID.Create();
}
public this(UUID id)