[Fix] ECS
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user