Newer
Older
TheVengeance-Project-IADE-Unity2D / Assets / Scripts / Interfaces / IInteractable.cs
@Rackday Rackday on 29 Oct 369 bytes Major Update
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using System.Threading.Tasks;
  5. using UnityEngine;
  6. public interface IInteractable
  7. {
  8. public abstract void OnInteract();
  9. }
  10. public interface IInteractableAsync
  11. {
  12. public Task OnInteractAsync();
  13. }
  14. public interface IDisplayable
  15. {
  16. public string GetDisplayMessage(DisplayMessage message);
  17. }