mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-10 19:05:54 +00:00
Interactable interface
This commit is contained in:
parent
49e58ff735
commit
54d9824581
27 changed files with 102 additions and 61 deletions
|
|
@ -1,8 +1,12 @@
|
|||
namespace Cirno.Scripts.Interactables;
|
||||
using Godot;
|
||||
|
||||
namespace Cirno.Scripts.Interactables;
|
||||
|
||||
public interface IInteractable
|
||||
{
|
||||
public bool Activate();
|
||||
public bool Activate(ActivationType activationType = ActivationType.Toggle);
|
||||
public bool CanActivate();
|
||||
|
||||
public Vector2 GetPosition();
|
||||
//protected bool MeetsRequirements();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue