Example #1
0
        private void resetTheGame()
        {
            lives = 50;

            collisions.Items.Clear();

            observers.Clear(); //Remove all elements in the ArrayList

            unitsObservers = new UnitsObservers();

            initializeBlocks();

            initializeBalls();

            observers = unitsObservers.getObservers();

            tmrMoveBall.Enabled = true;
        }
Example #2
0
        public Form1()
        {
            InitializeComponent();

            unitsObservers = new UnitsObservers();
        }