Example #1
0
 public void RemoveObserver(IAnalogInputEventObserver watcher)
 {
     /*
      * @Desc: Takes an external classes and removes it to the list of watchers/observers
      * @Param: IAnalogInputEventObserver watcher - This parameter represents the new external class that will be removed to the list of watchers/observers
      */
     _Watchers.Remove(watcher);
 }
Example #2
0
 public void AddObserver(IAnalogInputEventObserver watcher)
 {
     /*
      * @Desc: Takes an external classes and adds it to the list of watchers/observers
      * @Param: IAnalogInputEventObserver watcher - This parameter represents the new external class that will be added to the list of watchers/observers
      */
     _Watchers.Add(watcher);
 }