Fix interactions IGrabable + Ajout interface IUsable

This commit is contained in:
Antoine H 2020-12-10 10:49:36 +01:00
parent eacf4f2711
commit 5b787c7da6
6 changed files with 33 additions and 6 deletions

10
Assets/Scripts/IUsable.cs Normal file
View 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);
}