7、][] mTileGrid;2、编写存放图片索引用图片的X,Y轴位置;public void setTile(int tileindex, int x, int y){ mTileGrid[x][y]=tileindex;}3.把图片素材加入到bitmap中publicvoidloadTile(intkey,Drawabletile){Bitmapbitmap=Bitmap.createBitmap(mTileSize,mTileSize,Bitmap.Config.ARGB_8888);Canvascanvas=newC