예제 #1
0
    @Override
    public void run() {
      loadFromFile(this.fileName, this.world);

      for (Blocks bl : blocks) {
        bl.set();
      }
    }
예제 #2
0
 public void save(DataOutputStream out) {
   try {
     for (Blocks b : blocks) {
       b.save(out);
     }
   } catch (IOException e) {
     e.printStackTrace();
   }
 }