/// <summary> /// Calls the current event with key data /// </summary> /// <param name="key">key data to call with</param> public virtual void CallEvent(Keys key) { Snippets?.Invoke(key, Vector2.Zero); }
/// <summary> /// Calls the current event with location data /// </summary> /// <param name="location">location to call with</param> public virtual void CallEvent(Vector2 location) { Snippets?.Invoke(Keys.Clear, location); }
/// <summary> /// Calls the current event with no data /// </summary> public virtual void CallEvent() { Snippets?.Invoke(Keys.Clear, Vector2.Zero); }