public void UpdateListener(INoiseListenerInterface inListener, Vector3 inListenerLocation) { if (_listenerMappings.ContainsKey(inListener)) { _listenerMappings[inListener].Location = inListenerLocation; } }
public void RegisterListener(INoiseListenerInterface inListener, Vector3 inListenerLocation) { var entry = new NoiseListenerEntry(inListener, inListenerLocation); _listenerEntries.Add(entry); _listenerMappings.Add(inListener, entry); }
public void UpdateListener(INoiseListenerInterface inListener, Vector3 inListenerLocation) { UpdatedListener = inListener; UpdatedLocation = inListenerLocation; }
public void UnregisterListener(INoiseListenerInterface inListener) { UnregisteredListener = inListener; }
public void RegisterListener(INoiseListenerInterface inListener, Vector3 inListenerLocation) { RegisteredListener = inListener; RegisteredLocation = inListenerLocation; }
public void UnregisterListener(INoiseListenerInterface inListener) { _listenerMappings.Remove(inListener); _listenerEntries.RemoveAll((entry) => entry.Listener == inListener); }
public NoiseListenerEntry(INoiseListenerInterface inListener, Vector3 inLocation) { Listener = inListener; Location = inLocation; }