Interactable interface

This commit is contained in:
MaddoScientisto 2025-03-09 21:58:25 +01:00
commit 54d9824581
27 changed files with 102 additions and 61 deletions

View file

@ -1,10 +1,11 @@
using Godot;
using System;
using Cirno.Scripts;
public partial class Computer : Interactable
{
[Export] public Activable Target { get; set; }
public override bool Activate()
public override bool Activate(ActivationType activationType = ActivationType.Toggle)
{
if (MeetsRequirements())
{