Files
brick-framework/GameCore/Events/WeaponFiredEvent.cs

11 lines
297 B
C#

using GameCore.ECS;
using GameCore.Events.Interfaces;
using GameCore.Math;
namespace GameCore.Events;
public readonly struct WeaponFiredEvent(Entity owner, Vector3 muzzlePosition) : IEvent
{
public readonly Entity Owner = owner;
public readonly Vector3 MuzzlePosition = muzzlePosition;
}