Пример #1
0
        //Creates a new player with a random ID and role and instantly enqueues them.
        private void newPlayer_Click(object sender, RoutedEventArgs e)
        {
            queue.Add(medium.CreatePlayer());
            updateData();

            Console.WriteLine(this);
        }