using System.Drawing;
using Milimoe.FunGame.Core.Entity;
namespace Milimoe.FunGame.Core.Library.Common.Addon
{
public struct Grid(int id, float x, float y, float z)
{
///
/// 格子编号
///
public int Id { get; } = id;
///
/// 格子在地图中的x坐标
///
public float X { get; } = x;
///
/// 格子在地图中的y坐标
///
public float Y { get; } = y;
///
/// 格子在地图中的z坐标
///
public float Z { get; } = z;
///
/// 是谁站在这格子上?
///
public Dictionary Characters { get; set; } = [];
///
/// 此格子目前受到了什么影响?或者它有什么技能…
///
public Dictionary Skills { get; set; } = [];
///
/// 此格子呈现的颜色(默认为 )
///
public Color Color { get; set; } = Color.Gray;
}
}