// Path: core/src/com/hexabeast/sandbox/mobs/MobSave.java
// public class MobSave {
// 	public int[] type;
// 	public float[] x;
// 	public float[] y;
// 	
// 	public MobSave() {}
// }


import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.zip.DeflaterOutputStream;
import java.util.zip.InflaterInputStream;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.utils.Base64Coder;
import com.badlogic.gdx.utils.Json;
import com.badlogic.gdx.utils.StreamUtils;
import com.hexabeast.sandbox.mobs.MobSave;
						mapFile2[i][j].file().createNewFile();
					} catch (IOException e) {
						e.printStackTrace();
					}
				}
			}
			backLayer = new MapLayer(false);
			random = true;
		}
		
		lights = new LightManager();
	}
	
	
	
	public void Save() throws IOException 
	{
		SaveLayer(mapFile1, mainLayer,false);
		SaveLayer(mapFile2, backLayer,false);
		
		//SaveVillage(mapFileVillage1,mainLayer);
		//SaveVillage(mapFileVillage2,backLayer);
		
		SaveEntities();
	}
	
	public void SaveEntities()
	{
		TreeSave treesav = new TreeSave();
		FurnitureSave fursav = new FurnitureSave();
// Path: core/src/com/hexabeast/sandbox/mobs/MobSave.java
// public class MobSave {
// 	public int[] type;
// 	public float[] x;
// 	public float[] y;
// 	
// 	public MobSave() {}
// }


// Path: core/src/com/hexabeast/sandbox/Map.java
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.zip.DeflaterOutputStream;
import java.util.zip.InflaterInputStream;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.Vector3;
import com.badlogic.gdx.utils.Base64Coder;
import com.badlogic.gdx.utils.Json;
import com.badlogic.gdx.utils.StreamUtils;
import com.hexabeast.sandbox.mobs.MobSave;

						mapFile2[i][j].file().createNewFile();
					} catch (IOException e) {
						e.printStackTrace();
					}
				}
			}
			backLayer = new MapLayer(false);
			random = true;
		}
		
		lights = new LightManager();
	}
	
	
	
	public void Save() throws IOException 
	{
		SaveLayer(mapFile1, mainLayer,false);
		SaveLayer(mapFile2, backLayer,false);
		
		//SaveVillage(mapFileVillage1,mainLayer);
		//SaveVillage(mapFileVillage2,backLayer);
		
		SaveEntities();
	}
	
	public void SaveEntities()
	{
		TreeSave treesav = new TreeSave();
		FurnitureSave fursav = new FurnitureSave();
		MobSave mobsav = new MobSave(); 