@Override
	public void save(FileOutputStream out) throws IOException {
		SaveInfo info = new SaveInfo();
		
		if (initialized){
			info.addInt(contains.length);
			for (int i = 0; i < contains.length; i++){
				contains[i].getBase().getID();
			}
		} else {
			info.addInt(-1);
		}
		
		info.saveInfo(out);
	}