using Godot; using System; using Godot.Collections; [GlobalClass] public partial class CardUI : Control { public ColorRect color; public Label state; public Area2D dropDetector; public CardStateMachine cardStateMachine; public CardZone.ZoneType targetedZone; public CardZone.ZoneType currentZone; public Dictionary data; public bool tapped; [Signal] public delegate void ReparentRequestedEventHandler(CardUI whichCardUI); public override void _Ready() { color = GetNode("Color"); state = GetNode