Gan:
//Initializing the array tiles = new SBTile[](0);
This is often useless.
//Clearing the array tiles = [];
This doesn't "clear" the array, it rebinds it to a null pointer. Bye, bearophile
Gan:
//Initializing the array tiles = new SBTile[](0);
This is often useless.
//Clearing the array tiles = [];
This doesn't "clear" the array, it rebinds it to a null pointer. Bye, bearophile