cirnogodot/Scripts/Interactables/Computer.cs
2025-02-07 11:15:57 +01:00

17 lines
255 B
C#

using Godot;
using System;
public partial class Computer : Interactable
{
[Export] public Activable Target { get; set; }
public override bool Activate()
{
if (MeetsRequirements())
{
Target?.Activate();
return true;
}
return false;
}
}