@Override public void run() { loadFromFile(this.fileName, this.world); for (Blocks bl : blocks) { bl.set(); } }
public void save(DataOutputStream out) { try { for (Blocks b : blocks) { b.save(out); } } catch (IOException e) { e.printStackTrace(); } }