using Unity.Entities; namespace Minesweeper.ECS.Components { public struct CellComponent : IComponentData { public int X; public int Y; public int Index; public byte IsMine; public byte IsOpened; public byte IsFlagged; public int NeighborMines; } }