You need to create an array of panel pointers. Check out Aum82's workshop (invaders) to see an example.