using GameCore.Interaction; using Godot; using Godot.Collections; namespace CryptonymThunder.Code.Resources; [GlobalClass] public partial class DoorComponentResource : Resource { [Export] public DoorComponent.DoorState InitialState { get; set; } = DoorComponent.DoorState.Closed; [Export] public bool IsOneTimeUnlock { get; set; } = false; [Export(PropertyHint.Range, "0.1,10.0,0.1")] public float OpenSpeed { get; set; } = 1.0f; [ExportGroup("Requirements")] [Export] public Array Requirements { get; set; } = []; }