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

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