public virtual void LeaveRange(InteractionHandler handler) { if (OnLeaveRange != null) { OnLeaveRange.Invoke(); } }
public virtual void UseItemOnStation(InteractionHandler handler, Item itemToUse) { if (OnUseItem != null) { OnUseItem.Invoke(); } canAct = false; if (OnLeaveRange != null) { OnLeaveRange.Invoke(); } }
public virtual void Interact(InteractionHandler handler) { if (OnInteract != null) { OnInteract.Invoke(); } canAct = false; if (OnLeaveRange != null) { OnLeaveRange.Invoke(); } }