public void InvalidateAllTiles() { for (int i=0; i<256; i++) tileImagesCache[i] = null; if (DrawInvalidatedTiles) DrawAllTiles(); }