/// <summary> /// Remove a event listener /// ///@param l /// Event Lister {@link IWorldEventListener} /// </summary> public void RemoveWorldEventListener (IWorldEventListener l) { if (listeners.Contains (l)) { listeners.Remove (l); } }
/// <summary> /// Add a world event listener /// ///@param l /// Event Listener {@link IWorldEventListener} /// </summary> public void AddWorldEventListener (IWorldEventListener l) { if (listeners == null) { listeners = new List<IWorldEventListener> (); } listeners.Add (l); }