public void CreateProfile() { Profile P = new Profile(); P.PlayerName = NameBox.Text; P.SaveProfile(); }
public void ToNewProfile() { this.SwitchTo(new ProfileCreationScreen(Parent, GeneralManager.ScreenX, GeneralManager.ScreenY)); Profile Test = new Profile(); Test.PlayerName = "test prof"; Test.SaveProfile(); }