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