//Array of possible flash patterns
int [][] flashPatterns = {{1, 0, 2, 0},
{1, 2, 1, 2}};
That's not how to define an array in C/C++. The [] are in the wrong place. The size needs to be defined for all but the last dimension.
interval = offInterval
is missing something. I can't quite put by finger on it...
if(flashPatternStepper > flashPatterns.length-1)
flashPatterns is an array, not a class instance. It doesn't have methods or fields.
switch (flashPattern[flashPatternSelect][flashPatternStepper])
Did you mean flashPatterns?
arduino.digitalWrite(bluePin, LOW);
What? As opposed to a PIC that is supposed to execute this instruction?