Exemplo n.º 1
0
 public virtual void LeaveRange(InteractionHandler handler)
 {
     if (OnLeaveRange != null)
     {
         OnLeaveRange.Invoke();
     }
 }
Exemplo n.º 2
0
 public virtual void UseItemOnStation(InteractionHandler handler, Item itemToUse)
 {
     if (OnUseItem != null)
     {
         OnUseItem.Invoke();
     }
     canAct = false;
     if (OnLeaveRange != null)
     {
         OnLeaveRange.Invoke();
     }
 }
Exemplo n.º 3
0
 public virtual void Interact(InteractionHandler handler)
 {
     if (OnInteract != null)
     {
         OnInteract.Invoke();
     }
     canAct = false;
     if (OnLeaveRange != null)
     {
         OnLeaveRange.Invoke();
     }
 }