help with buttons switching with number of pushes

im a noob, and as i look over the code provided i have more questions.

void loop () {
if (ButtonChange() == HIGH) { //if button has been pressed
if (buttonPushCounter > numberofPatterns) { //if counter exeeds max reset to index(0)
buttonPushCounter = 0;
}
switch (buttonPushCounter) { //depending on counter value choose a case
case 0:
Lighter(0,0,0);
break;
case 1:
Lighter(1,0,0);
break;

if i were to add more LEDs in the circuit would i just extend the code.after adding the values to setup and making "int".. for example=lighter(0,0,0,0,0)
and are the "breaks" necessary? is that what sustains the value and keeps that portion of the program running?