30 lines
632 B
C#
Raw Normal View History

using pacMan.GameStuff;
using pacMan.GameStuff.Items;
2023-07-12 14:07:32 +02:00
namespace BackendTests.TestUtils;
2023-07-13 14:00:42 +02:00
internal static class Players
2023-07-12 14:07:32 +02:00
{
2023-07-20 18:06:30 +02:00
internal static Player Create(string colour) =>
new()
2023-07-12 14:07:32 +02:00
{
Username = colour,
2023-07-12 14:07:32 +02:00
Colour = colour,
PacMan = CreatePacMan(colour),
Box = CreateBox(colour)
};
internal static Character CreatePacMan(string colour) =>
new()
{
Colour = colour,
Type = CharacterType.PacMan
};
internal static Box CreateBox(string colour) =>
new()
{
Colour = colour
2023-07-12 14:07:32 +02:00
};
}