SpriteEventInfo

Namespace: Murder.Components
Assembly: Murder.dll

public sealed struct SpriteEventInfo

⭐ Constructors

public SpriteEventInfo(string id, T? sound, bool persist)

Parameters
id string
sound T?
persist bool

public SpriteEventInfo(string id)

Parameters
id string

⭐ Properties

Id

public readonly string Id;

Returns
string

Persist

public readonly bool Persist;

Returns
bool

Sound

public readonly T? Sound;

Returns
T?

⭐ Methods

WithPersist(bool)

public SpriteEventInfo WithPersist(bool persist)

Parameters
persist bool

Returns
SpriteEventInfo