Refactored some tests, added IClonable to Player

This commit is contained in:
martin
2023-10-21 12:28:09 +02:00
parent 719d37c6ee
commit a8fe82dd50
4 changed files with 25 additions and 45 deletions

View File

@ -26,13 +26,4 @@ internal static class Players
{
Colour = colour
};
internal static Player Clone(this Player player) =>
new()
{
Box = player.Box,
Colour = player.Colour,
Username = player.Username,
PacMan = player.PacMan
};
}