Split the loadTileSheet() function into two more specific functions:
load1DTileSheet() and load2DTileSheet().