mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:45:33 +00:00
17 lines
255 B
C#
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;
|
|
}
|
|
}
|