Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 4
The array is contained inside the method 'SettingPieces' and therefore is not part of the class, but local to the function it is declared in. You should move the declaration out of the function.