Esempio n. 1
0
        internal void Restart()
        {
            curState     = GameState.Playing;
            Player.Score = 0;
            Player.Lives = ConfigManager.playerLivesDefault;
            Player.ResetPosition();
            Ball.Position = Player.GetBallStartingPos();

            Cells = new CellSet(
                this,
                ConfigManager.cellRowsDefault,
                ConfigManager.cellColsDefault);
        }
Esempio n. 2
0
        internal void Restart()
        {
            curState = GameState.Playing;
            Player.Score = 0;
            Player.Lives = ConfigManager.playerLivesDefault;
            Player.ResetPosition();
            Ball.Position = Player.GetBallStartingPos();

            Cells = new CellSet(
                this,
                ConfigManager.cellRowsDefault,
                ConfigManager.cellColsDefault);
        }