#pragma once #include "Event.h" #include "Tick.h" #include "entt/entity/entity.hpp" struct WeaponFiredEvent : public Event { WeaponFiredEvent() = default; WeaponFiredEvent(entt::entity shooter, entt::entity target, Tick emittedAt) : shooter(shooter), target(target), emittedAt(emittedAt) {} entt::entity shooter = entt::null; entt::entity target = entt::null; Tick emittedAt = 0; };