21 lines
390 B
C#
21 lines
390 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace DDD
|
|
{
|
|
public enum InteractionType
|
|
{
|
|
None,
|
|
RestaurantManagement,
|
|
}
|
|
public interface IInteractable
|
|
{
|
|
bool CanInteract();
|
|
void OnInteracted(IInteractor interactor);
|
|
}
|
|
public interface IInteractor
|
|
{
|
|
void TryInteract(InteractionType interactionType);
|
|
}
|
|
}
|