Refactored box to use number instead of list of objects
This commit is contained in:
@ -24,8 +24,7 @@ internal static class Players
|
||||
internal static Box CreateBox(string colour) =>
|
||||
new()
|
||||
{
|
||||
Colour = colour,
|
||||
Pellets = new List<Pellet>()
|
||||
Colour = colour
|
||||
};
|
||||
|
||||
internal static Player Clone(this Player player) =>
|
||||
|
Reference in New Issue
Block a user