private void enterButton_Click(object sender, RoutedEventArgs e)
        {
            Difficulty d;
            string     name = textBoxIme.Text;

            if (name == "")
            {
                MessageBox.Show("Morate uneti ime!", "Greska", MessageBoxButton.OK, MessageBoxImage.Error);
            }
            else
            {
                if ((bool)easy.IsChecked)
                {
                    d = Difficulty.Easy;
                }
                else if ((bool)medium.IsChecked)
                {
                    d = Difficulty.Medium;
                }
                else
                {
                    d = Difficulty.Hard;
                }

                game = new Game(name, d);

                PostavkaBrodova win = new PostavkaBrodova(game);
                win.Show();
                this.Close();
            }
        }
        private void StartOver_Click(object sender, RoutedEventArgs e)
        {
            PostavkaBrodova newWindow = new PostavkaBrodova(new Game(game.player.Name, game.computer.D));

            //Application.Current.MainWindow = newWindow;
            newWindow.Show();
            this.Close();
        }