Initial commit
This commit is contained in:
17
Awperative/Kernel/Events/Components/ComponentDestroyEvent.cs
Normal file
17
Awperative/Kernel/Events/Components/ComponentDestroyEvent.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace Gravity.Kernel;
|
||||
|
||||
public sealed record ComponentDestroyEvent
|
||||
{
|
||||
public readonly Component component;
|
||||
public readonly Body body;
|
||||
public readonly Scene scene;
|
||||
|
||||
internal ComponentDestroyEvent() {}
|
||||
|
||||
internal ComponentDestroyEvent(Component __component, Body __body, Scene __scene)
|
||||
{
|
||||
component = __component;
|
||||
body = __body;
|
||||
scene = __scene;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user