Files
glitchy-engine-beef/ScriptCore/Core/EngineObject.cs
T
Simon Lübeß e69e1b5526 Show Buttons in entity editor
- ScriptEngine: Added HasCustomAttribute- extension method
- ScriptEngine: Added Application class
2023-12-12 13:38:29 +01:00

26 lines
571 B
C#

namespace GlitchyEngine.Core;
public abstract class EngineObject
{
protected internal UUID _uuid;
/// <summary>
/// UUID used for identifying the object in the engine.
/// </summary>
public UUID UUID => _uuid;
/// <summary>
/// Empty constructor not used. Do NOT USE!
/// </summary>
protected EngineObject() { }
/// <summary>
/// Creates a new EngineObject with the given ID.
/// </summary>
/// <param name="uuid">UUID of the object.</param>
internal EngineObject(UUID uuid)
{
_uuid = uuid;
}
}