structure du projet, ajout de la lib hexagonal

This commit is contained in:
2025-03-11 23:37:12 +01:00
parent 7213e43d67
commit a43df23e89
52 changed files with 2783 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Giants.Core\Giants.Core.csproj" />
<ProjectReference Include="..\HexagonalLib\src\HexagonalLib.Net\HexagonalLib.Net\HexagonalLib.Net.csproj" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,16 @@
namespace Giants.Infrastructure;
using Giants.Core.Interfaces;
using HexagonalLib;
public class HexagonalGridImpl : IHexagonalGrid
{
private readonly HexagonalGrid _grid;
public HexagonalGridImpl()
{
_grid = new HexagonalGrid(HexagonalGridType.PointyEven, 1.0f);
}
}