4041424344454647484950
SpriteCell cell = sheet.getCell(map[i][j]); int x = j * tw; int y = i * th; bg.paint(g, x, y, null); if (cell != null) { cell.paint(g, x, y, null); } } } } }