using System;
using System.Collections.Generic;

namespace RedCircuit.Components
{
    /// <summary>元件数据定义，描述元件类型、朝向、可调属性与通电状态。</summary>
    [Serializable]
    public class ComponentData
    {
        public string id;
        public string type;
        public int x;
        public int y;
        public int rotation;
        public Dictionary<string, int> properties = new();
        public bool isPowered;
    }
}
