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