Skip to content

Commit 837c891

Browse files
committed
Use the Field class for guesses in the Move class
1 parent 717c24e commit 837c891

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • src/Codebreaker.ViewModels/Models
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
namespace Codebreaker.ViewModels.Models;
22

3-
public class Move(ICollection<string> guessPegs, ICollection<string>? keyPegs = null)
3+
public class Move(ICollection<Field> guessPegs, ICollection<string>? keyPegs = null)
44
{
55
/// <summary>
66
/// The guess pegs from the user for this move.
77
/// </summary>
8-
public ICollection<string> GuessPegs { get; } = guessPegs;
8+
public ICollection<Field> GuessPegs { get; } = guessPegs;
99

1010
/// <summary>
1111
/// The result from the analyer for this move based on the associated game that contains the move.
@@ -14,4 +14,4 @@ public class Move(ICollection<string> guessPegs, ICollection<string>? keyPegs =
1414
/// Null if the move was not analyzed yet.
1515
/// </remarks>
1616
public ICollection<string>? KeyPegs { get; } = keyPegs;
17-
}
17+
}

0 commit comments

Comments
 (0)