2020-12-03 18:52:34 +01:00
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
public interface IGrabable
|
|
|
|
|
{
|
2020-12-09 15:41:56 +01:00
|
|
|
|
//Unity inspector doesn't handle well interface...
|
|
|
|
|
int size {get; set;} //Size (1 or 2 hands) of the object
|
2020-12-03 18:52:34 +01:00
|
|
|
|
void use();
|
|
|
|
|
void take();
|
2020-12-04 11:15:18 +01:00
|
|
|
|
void drop(Vector2 position); //Drop to position
|
2020-12-03 18:52:34 +01:00
|
|
|
|
}
|