Beispiel #1
0
 /**
  * Notification callback for an object in the FOV which are changing its state.
  *
  * \param The changing object.
  */
 public void NotifyObjectChange(GameObject obj)
 {
     if (System.Array.IndexOf(deliberator.interestType, obj.tag) != -1)
     {
         deliberator.NotifyObjectChange(obj);
     }
 }
Beispiel #2
0
 /**
  * Notification callback for an object in the FOV which are changing its state.
  *
  * \param The changing object.
  */
 public void NotifyObjectChange(GameObject obj, char type)
 {
     if (deliberator.interestType.IndexOf(type) != -1)
     {
         deliberator.NotifyObjectChange(obj, type);
     }
 }