public AddPlayerCommand(string name, IPlayerLibrary playerLibrary, List <string> players, bool added) { this.name = name; this.playerLibrary = playerLibrary; this.players = players; this.add = added; }
public PlayerLibraryVM(IPlayerLibrary playerLibrary) { this.playerLibrary = playerLibrary; this.CreateNewProfile = this.playerLibrary.CreateNewProfile(PlayerProfile.Name); }