@Override public RailsState getState(Block block) { return RailsState.get(block.getData()); }
@Override public void setState(Block block, RailsState state) { block.setData(state.getData()); }