ScriptCore: Moved Component + Doc

This commit is contained in:
Simon Lübeß
2023-12-13 14:00:27 +01:00
parent 105ff57206
commit 4a2635a8c3
6 changed files with 16 additions and 3 deletions
+7 -1
View File
@@ -1,8 +1,14 @@
using GlitchyEngine.Core;
namespace GlitchyEngine;
namespace GlitchyEngine.Components;
/// <summary>
/// The base class for all Components.
/// </summary>
public abstract class Component : EngineObject
{
/// <summary>
/// Gets the entity that this component is attached to.
/// </summary>
public Entity Entity => new(_uuid);
}