mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-14 10:33:48 +00:00
Interactable interface
This commit is contained in:
parent
49e58ff735
commit
54d9824581
27 changed files with 102 additions and 61 deletions
|
|
@ -13,7 +13,7 @@ public partial class Chest : Interactable
|
|||
|
||||
private AnimatedSprite2D _sprite;
|
||||
|
||||
public override bool Activate()
|
||||
public override bool Activate(ActivationType activationType = ActivationType.Toggle)
|
||||
{
|
||||
GD.Print("Attempting to open chest");
|
||||
if (State != ChestState.Closed) return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue