2025-07-17 08:55:45 +00:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
namespace DDD
|
|
|
|
{
|
|
|
|
public enum InteractionType
|
|
|
|
{
|
2025-07-22 10:07:14 +00:00
|
|
|
None,
|
|
|
|
RestaurantManagement,
|
2025-07-17 08:55:45 +00:00
|
|
|
}
|
|
|
|
public interface IInteractable
|
|
|
|
{
|
|
|
|
bool CanInteract();
|
|
|
|
void OnInteracted(IInteractor interactor);
|
|
|
|
}
|
|
|
|
public interface IInteractor
|
|
|
|
{
|
|
|
|
void TryInteract(InteractionType interactionType);
|
|
|
|
}
|
|
|
|
}
|