/// <summary> /// Adds a listener for this event /// </summary> /// <param name="listener">Listener</param> public void AddListener(InputEventFired listener) { _listeners.Add(listener); }
/// <summary> /// Removes a listener for this event /// </summary> /// <param name="listener">Listener</param> /// <returns>Returns true if the listener is removed otherwise false</returns> public bool RemoveListener(InputEventFired listener) { return _listeners.Remove(listener); }