[Fix] ECS

This commit is contained in:
2026-06-07 01:12:10 +07:00
parent 285c11597a
commit 5a58c9031a
16 changed files with 225 additions and 36 deletions
@@ -7,5 +7,8 @@ namespace Minesweeper.ECS.Components
public int Width;
public int Height;
public int MinesCount;
public int OpenedSafeCellsCount;
public int FlaggedCellsCount;
public byte IsGenerated;
}
}
@@ -0,0 +1,8 @@
using Unity.Entities;
namespace Minesweeper.ECS.Components
{
public struct CellChangedTag : IComponentData
{
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 5702c8f40c71e7444a70e7aa73d8a9db
@@ -6,9 +6,11 @@ namespace Minesweeper.ECS.Components
{
public int X;
public int Y;
public int Index;
public byte IsMine;
public byte IsOpened;
public byte IsFlagged;
public int NeighborMines;
}
}