Example #1
0
 //觀察者不想被通知
 public void remove(Adventurer observer)
 {
     list.Remove(observer);
 }
Example #2
0
 //觀察者想被通知
 public void add(Adventurer observer)
 {
     list.Add(observer);
 }