structure du projet, ajout de la lib hexagonal
This commit is contained in:
9
Src/Giants.Core/Giants.Core.csproj
Normal file
9
Src/Giants.Core/Giants.Core.csproj
Normal file
@@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
23
Src/Giants.Core/Src/Entities/Match.cs
Normal file
23
Src/Giants.Core/Src/Entities/Match.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using Giants.Core.Interfaces;
|
||||
|
||||
namespace Giants.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Il s'agit d'une instance d'une partie de Giants, c'est la racine de toutes les entitées de l'instance
|
||||
/// /// </summary>
|
||||
public class Match
|
||||
{
|
||||
#region données statiques
|
||||
IHexagonalGrid _grid;
|
||||
#endregion
|
||||
|
||||
#region données dynamiques
|
||||
#endregion
|
||||
|
||||
/// <summary> Construction de base </summary>
|
||||
/// <param name="grid"> La grid du jeu</param>
|
||||
public Match(IHexagonalGrid grid)
|
||||
{
|
||||
_grid = grid;
|
||||
}
|
||||
}
|
||||
9
Src/Giants.Core/Src/Interfaces/IHexagonalGrid.cs
Normal file
9
Src/Giants.Core/Src/Interfaces/IHexagonalGrid.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace Giants.Core.Interfaces;
|
||||
|
||||
/// <summary>
|
||||
/// represente un outils qui permet de gérer une grille hexagonal
|
||||
/// </summary>
|
||||
public interface IHexagonalGrid
|
||||
{
|
||||
|
||||
}
|
||||
9
Src/Giants.Core/Src/ValuesObjects/BoardLayout.cs
Normal file
9
Src/Giants.Core/Src/ValuesObjects/BoardLayout.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace Giants.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Represente l'organisation d'un plateau, il ne contient aucune informations liées a une partie mais il permet
|
||||
/// d'effectuer des recherches de chemins ou de type de tuiles
|
||||
/// </summary>
|
||||
public class BoardLayout
|
||||
{
|
||||
}
|
||||
8
Src/Giants.Core/Src/ValuesObjects/TileInfos.cs
Normal file
8
Src/Giants.Core/Src/ValuesObjects/TileInfos.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Giants.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Represente les information statiques d'une case. Ses voisins, son type, aucune informations qui peut changer pendant une partie
|
||||
/// </summary>
|
||||
public class TileInfos
|
||||
{
|
||||
}
|
||||
5
Src/Giants.Core/Src/ValuesObjects/TilePosition.cs
Normal file
5
Src/Giants.Core/Src/ValuesObjects/TilePosition.cs
Normal file
@@ -0,0 +1,5 @@
|
||||
namespace Giants.Core;
|
||||
|
||||
public class TilePosition
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user