Beispiel #1
0
    public static void IncreaseDifficulty()
    {
        difficultyBumpThreshold += GameConsts.THRESHOLD_FOR_DIFFICULTY_BUMP;

        //  FIRST COLOR DIFFICULTY BUMP - ADDING NEW COLORS
        if (ColorsCount < GameConsts.FIRST_COLOR_DIFFICULTY_CHANGE)
        {
            ColorsCount++;
            TilesManager.AddNewColor();
            return;
        }

        // FIRST ORDER DIFFICULTY BUMP - ADDING ADDITIONAL ORDER TO PROCEED
        if (OrdersCount < GameConsts.FIRST_ORDER_DIFFICULTY_CHANGE)
        {
            OrdersCount++;
            return;
        }

        // SECOND COLOR DIFFICULTY BUMP - ADDING NEW COLORS
        if (ColorsCount < GameConsts.SECOND_COLOR_DIFFICULTY_CHANGE)
        {
            ColorsCount++;
            TilesManager.AddNewColor();
            return;
        }

        // SECOND ORDER DIFFICULTY BUMP - ADDING ADDITIONAL ORDER TO PROCEED
        if (OrdersCount < GameConsts.SECOND_ORDER_DIFFICULTY_CHANGE)
        {
            OrdersCount++;
            return;
        }
    }