public void RebuildPillar(Pillar upperPillar, Pillar lowerPillar) { //Generate new values int upperHeight = random.Next(20, 30); int spacing = random.Next(6, 9); //Rebuild upper pillar upperPillar.Rebuild(upperHeight, 0); //Rebuild lower pillar lowerPillar.Rebuild( Console.WindowHeight - upperHeight - spacing, upperHeight + spacing ); //Increase score score++; }