@Override
public void render(Graphics graphics, long currentTime) {
int count = fImages.getHorizontalCount();
for (int i = 0; i < Math.min(count, 72); i++) {
Image img = fImages.getSprite(i, 0);
if (img != null) img.draw(i % 4 * 35, i / 4 * 35 + 29);
if (fSelectedTile == i) {
graphics.setColor(new Color(30, 80, 100));
graphics.setDrawMode(Graphics.MODE_ADD);
graphics.fillRect(i % 4 * 35, i / 4 * 35 + 29, 32, 32);
graphics.setDrawMode(Graphics.MODE_NORMAL);