* Updates the information displayed in the fields.
*/
public void update() {
super.update(); // update the common fields
Block block = (Block) entity;
String sprite = block.getStringProperty("sprite");
boolean canBePushed = block.getBooleanProperty("pushable");
boolean canBePulled = block.getBooleanProperty("pullable");
MaximumMoves maximumMoves = MaximumMoves.get(block.getIntegerProperty("maximum_moves"));
spriteField.setSelectedId(sprite);
canBePushedField.setSelected(canBePushed);
canBePulledField.setSelected(canBePulled);
maximumMovesField.setValue(maximumMoves);