private void NewCharacterClick(UIMouseEvent evt, UIElement listeningElement) { Main.PlaySound(10, -1, -1, 1); Player player = new Player(); player.GiveStartEquipment(); Main.PendingPlayer = player; Main.menuMode = 2; }