1er essais
This commit is contained in:
15
src/LittleTown.Core/MatchAggregate/Actions/EmptyAction.cs
Normal file
15
src/LittleTown.Core/MatchAggregate/Actions/EmptyAction.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace LittleTown.Core.Actions;
|
||||
|
||||
/// <summary>
|
||||
/// Un action de test qui permet de faire le déroulé d'une partie, cette action ne fait rien qu'utiliser un ouvrier du joueur et passer au suivant
|
||||
/// </summary>
|
||||
public class EmptyAction : IAction
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public void Execute(MatchUpdater updater)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(updater);
|
||||
|
||||
updater.NextPlayer();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user