Beispiel #1
0
 /*
  * removeObserver is the function to unsubsribe another morg to stop tracking the position of this morg. It is called when an object either dies or is removed
  * Requires a IMorgObserver Object to remove
  *
 **/
 public void removeObserver(IMorgObserver oMorg)
 {
     Observers.Remove(oMorg);
 }
Beispiel #2
0
 /*
    * registerObserver is the function to subsribe another morg to begin tracking the position of this morg
    * Requires a IMorgObserver Object to allow following
    *
   **/
 public void registerObserver(IMorgObserver nMorg)
 {
     Observers.Add(nMorg);
 }