Ejemplo n.º 1
0
        } ///ako uspesno vleze vo finish labelata.

        private void StartGame()
        {
            StopGame();
            status = "Running game..";
            moveCursorToStart();
            stopwatch.Start(); //START STOPERICA
            updateInformation();
            startedgame    = true;
            panel1.Enabled = true;
            hitblock       = false;
            disablePanel2Controls();
            RefreshInfoTimer.Start();
        } // Resetira potrebni textboxovi i timeri/stopwatches i pocnuva.
Ejemplo n.º 2
0
        } // Resetira potrebni textboxovi i timeri/stopwatches i pocnuva.

        private void StartGame(Game ig)
        {
            StopGame();
            igra   = ig;
            status = "Running game..";
            moveCursorToStart();
            stopwatch.Start(); //START STOPERICa
            updateInformation();
            startedgame    = true;
            panel1.Enabled = true;
            disablePanel2Controls();

            RefreshInfoTimer.Start();
        } // isto so startgame samo tuka konstruktor prima Game objekt , go koristime pri deserializacija