FatalDamageMessage

Namespace: Murder.Messages
Assembly: Murder.dll

public sealed struct FatalDamageMessage : IMessage

A message signaling that this entity should be killed

Implements: IMessage

⭐ Constructors

public FatalDamageMessage(Vector2 fromPosition, int damageAmount)

Parameters
fromPosition Vector2
damageAmount int

⭐ Properties

Amount

public readonly int Amount;

Returns
int

FromPosition

public readonly Vector2 FromPosition;

Returns
Vector2