mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-11-04 12:51:48 +00:00
Ensure generating unique Entity IDs
This commit is contained in:
@@ -24,10 +24,9 @@ namespace GlitchyEngine.World
|
||||
{
|
||||
public readonly UUID ID;
|
||||
|
||||
/// Create a new IDComponent with a random UUID.
|
||||
public this()
|
||||
{
|
||||
ID = UUID.Create();
|
||||
ID = .Zero;
|
||||
}
|
||||
|
||||
public this(UUID id)
|
||||
|
||||
Reference in New Issue
Block a user