Fix interactions IGrabable + Ajout interface IUsable
This commit is contained in:
parent
eacf4f2711
commit
5b787c7da6
6 changed files with 33 additions and 6 deletions
10
Assets/Scripts/IUsable.cs
Normal file
10
Assets/Scripts/IUsable.cs
Normal file
|
@ -0,0 +1,10 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
//Represent object that can be used by tavernkeeper
|
||||
public interface IUsable
|
||||
{
|
||||
//Return wether the object is taken from tavernkeeper
|
||||
bool use(GameObject userObject);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue