15 lines
292 B
C#
15 lines
292 B
C#
using Unity.Entities;
|
|
|
|
namespace Minesweeper.ECS.Components
|
|
{
|
|
public struct CellComponent : IComponentData
|
|
{
|
|
public int X;
|
|
public int Y;
|
|
public byte IsMine;
|
|
public byte IsOpened;
|
|
public byte IsFlagged;
|
|
public int NeighborMines;
|
|
}
|
|
}
|