// 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.IOException;
import java.io.InputStream;
import java.util.zip.InflaterInputStream;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.utils.Base64Coder;
import com.badlogic.gdx.utils.Json;
import com.badlogic.gdx.utils.StreamUtils;
import com.hexabeast.sandbox.mobs.MobSave;
			if(treeList!= null)
			{
				for(int i = 0; i<treeList.x.length; i++)
				{
					GameScreen.entities.trees.PlaceTree(treeList.x[i], treeList.y[i], treeList.seed[i],treeList.ecloseTime[i]);
				}
			}
		}
	}
	public void LoadFurs(FileHandle mapFile) throws IOException
	{
		if(mapFile.exists())
		{
			String loadFurs = mapFile.readString();
			FurnitureSave furList = new Json().fromJson(FurnitureSave.class, loadFurs);
			
			if(furList!= null)
			{
				for(int i = 0; i<furList.x.length; i++)
				{
					GameScreen.entities.furnitures.addFurniture(furList.x[i], furList.y[i], furList.type[i],furList.chestids[i],furList.chestnumbers[i], furList.isTurned[i]);
				}
			}
		}
	}
	public void LoadMobs(FileHandle mapFile) throws IOException
	{
		if(mapFile.exists())
		{
			String loadMobs = mapFile.readString();
// 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/MapGenerator.java
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.zip.InflaterInputStream;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.utils.Base64Coder;
import com.badlogic.gdx.utils.Json;
import com.badlogic.gdx.utils.StreamUtils;
import com.hexabeast.sandbox.mobs.MobSave;

			if(treeList!= null)
			{
				for(int i = 0; i<treeList.x.length; i++)
				{
					GameScreen.entities.trees.PlaceTree(treeList.x[i], treeList.y[i], treeList.seed[i],treeList.ecloseTime[i]);
				}
			}
		}
	}
	public void LoadFurs(FileHandle mapFile) throws IOException
	{
		if(mapFile.exists())
		{
			String loadFurs = mapFile.readString();
			FurnitureSave furList = new Json().fromJson(FurnitureSave.class, loadFurs);
			
			if(furList!= null)
			{
				for(int i = 0; i<furList.x.length; i++)
				{
					GameScreen.entities.furnitures.addFurniture(furList.x[i], furList.y[i], furList.type[i],furList.chestids[i],furList.chestnumbers[i], furList.isTurned[i]);
				}
			}
		}
	}
	public void LoadMobs(FileHandle mapFile) throws IOException
	{
		if(mapFile.exists())
		{
			String loadMobs = mapFile.readString();
			MobSave mobList = new Json().fromJson(MobSave.class, loadMobs);