}
if (min > cube.getTemperature()) {
min = cube.getTemperature();
}
if (cube.getZ() == 0) {
widget.addItem(null, i, j, k, new Sprite(
ground, null));
}
if (cube.getWater() > 0) {
if (cube.getZ() == 0) {
widget.addItem(null, i, j, k, new Sprite(
water, null));
} else {
if (cube.getWater() < 20) {
widget.addItem(null, i, j, k,
new Sprite(cloud, null));
} else {
widget.addItem(null, i, j, k,
new Sprite(rain, null));
}
}
}
}
}