Esempio n. 1
0
        private void PlayerSelected()
        {
            lstBx_Characters.Items.Clear();
            lstBx_Accounts.Items.Clear();
            tb_Investment.Text = "";

            if (lstBx_Players.SelectedIndex >= 0)
            {
                disDaemon.displayCharacters = currentGame.GetPlayerCharacters(disDaemon.PullPlayerID(lstBx_Players.SelectedIndex)).ToArray();
                lstBx_Characters.Items.AddRange(disDaemon.GetDisplayCharName().ToArray());

                ChangePlayerSelectedState(true);
            }
            else
            {
                ChangePlayerSelectedState(false);
            }
        }