private void miseÀJourDesNomsDesJoueursToolStripMenuItem_Click(object sender, EventArgs e) { action = Action.updatePlayerNameStep3; getPlayerName = new GetPlayerName(); getPlayerName.GetName(this); searchPlayer = null; }
public void SaveScore() { // TO DO add = false; sort(); PlayerName = GetPlayerName.GetName().ToString(); Score = ScoreManager.ScoreNumber; AddHighScoreEntry(Score, PlayerName); sort(); }
public void RefreshPlayerNames(GetPlayerName namer) { if (namer == null) return; for (uint team_index = 0; team_index < 3; team_index++) { for (uint player_index = 0; player_index < 8; player_index++) { Gtk.RadioButton rb = radiobuttonPlayers[team_index,player_index]; //if (!rb.Active) continue; rb.Label = namer(team_index, player_index); } } }
public void CallTopScoreMenu() { //Debug.Log("here"); HighScoreTable.Add(); GetPlayerName.BossKilled(); //HighScoreTable.SaveScore(); // Menu.KillBoss(); Button = GameObject.Find("Button"); Button.SetActive(false); Slider = GameObject.Find("Slider"); Slider.SetActive(false); //Score = GameObject.Find("TopScore Menu"); //Score.SetActive(true); //topScore.SetActive(true); }
void Update() { Name.text = GetPlayerName.GetName(); }
private void button1_Click(object sender, EventArgs e) { this.action = Action.updatePlayerNameStep2; this.getPlayerName = new GetPlayerName(); this.getPlayerName.GetName(this); }