using Fantasy.Entitas;
using Unity.Mathematics;

namespace NB.Map;

public enum MapGearState
{
    None = 0,
    Take = 1,
    Put = 2,
}

/// <summary>
/// 钓组信息
/// </summary>
public class MapUnitGear : Entity
{
    /// <summary>
    /// 杆子
    /// </summary>
    public long Rod;

    /// <summary>
    /// 杆子配件
    /// </summary>
    public List<long> Rings = new List<long>();

    /// <summary>
    /// 杆子状态
    /// </summary>
    public MapGearState State;

    /// <summary>
    /// 位置
    /// </summary>
    public float3 Position;

    /// <summary>
    /// 旋转
    /// </summary>
    public float3 Rotation;
}