NPC refactor (#10122)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -11,9 +11,15 @@ public sealed class MuzzleFlashEvent : EntityEventArgs
|
||||
public EntityUid Uid;
|
||||
public string Prototype;
|
||||
|
||||
public MuzzleFlashEvent(EntityUid uid, string prototype)
|
||||
/// <summary>
|
||||
/// Should the effect match the rotation of the entity.
|
||||
/// </summary>
|
||||
public bool MatchRotation;
|
||||
|
||||
public MuzzleFlashEvent(EntityUid uid, string prototype, bool matchRotation = false)
|
||||
{
|
||||
Uid = uid;
|
||||
Prototype = prototype;
|
||||
MatchRotation = matchRotation;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user