added: checking if IInteractable is interactable added

This commit is contained in:
Chris
2025-10-20 13:46:04 -04:00
parent 77fcd2059a
commit aa3c51f06e
3 changed files with 10 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ using UnityEngine;
public interface IInteractable{
public void Interact();
public bool CanInteract();
public void CancelInteract();
public void OnObserverDetected(EnvironmentObserver observer);
}

View File

@@ -46,6 +46,10 @@ namespace Reset.Items{
}
}
public bool CanInteract(){
throw new NotImplementedException();
}
IEnumerator SpawnItems(){
for (int i = 0; i < Random.Range(minItemsToSpawn, maxItemsToSpawn); i++) {

View File

@@ -29,6 +29,10 @@ namespace Reset.Items{
}
}
public bool CanInteract(){
throw new NotImplementedException();
}
public void CancelInteract(){
throw new NotImplementedException();
}