SpriteEventData

Namespace: Murder.Editor.Assets
Assembly: Murder.dll

public class SpriteEventData

⭐ Constructors

public SpriteEventData()

⭐ Properties

DeletedEvents

public readonly Dictionary<TKey, TValue> DeletedEvents;

Returns
Dictionary<TKey, TValue>

Events

public readonly Dictionary<TKey, TValue> Events;

Returns
Dictionary<TKey, TValue>

⭐ Methods

GetEventsForAnimation(string)

public Dictionary<TKey, TValue> GetEventsForAnimation(string animation)

Parameters
animation string

Returns
Dictionary<TKey, TValue>

AddEvent(string, int, string)

public void AddEvent(string animation, int frame, string message)

Parameters
animation string
frame int
message string

FilterEventsForAnimation(string, Dictionary`2&)

public void FilterEventsForAnimation(string animation, Dictionary`2& events)

Parameters
animation string
events Dictionary<TKey, TValue>&

RemoveEvent(string, int)

public void RemoveEvent(string animation, int frame)

Parameters
animation string
frame int