core: rename a member function of TileManager into drawTile()