Reformat UserName to Username, Added DAL with admin login method
This commit is contained in:
@ -8,7 +8,7 @@ internal static class Players
|
||||
internal static IPlayer Create(string colour) =>
|
||||
new Player
|
||||
{
|
||||
UserName = colour,
|
||||
Username = colour,
|
||||
Colour = colour,
|
||||
PacMan = CreatePacMan(colour),
|
||||
Box = CreateBox(colour)
|
||||
@ -33,7 +33,7 @@ internal static class Players
|
||||
{
|
||||
Box = player.Box,
|
||||
Colour = player.Colour,
|
||||
UserName = player.UserName,
|
||||
Username = player.Username,
|
||||
PacMan = player.PacMan
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user