using UnityEngine;

namespace Wizard.Dialog.Setting;

public class ItemGrid : Item
{
	[SerializeField]
	private UIGrid _grid;

	public UIGrid GetUIGrid()
	{
		return _grid;
	}

	public void SetArangement(UIGrid.Arrangement arrangement)
	{
		_grid.arrangement = arrangement;
	}

	public UIGrid.Arrangement GetArrangement()
	{
		return _grid.arrangement;
	}

	public void SetCellWidth(float width)
	{
		_grid.cellWidth = width;
	}

	public float GetCellWidth()
	{
		return _grid.cellWidth;
	}

	public void SetCellHeight(float height)
	{
		_grid.cellHeight = height;
	}

	public float GetCellHeight()
	{
		return _grid.cellHeight;
	}

	public override void AddChangeCallback(EventDelegate.Callback callback)
	{
	}

	public override void SetActive_SeparatorLine(bool isActive)
	{
	}
}
