// Path: core/src/com/hexabeast/sandbox/Parameters.java
// public class Parameters {
// 	public static Parameters i;
// 	
// 	public boolean fullBright = false;
// 	public boolean noShadow = false;
// 	public boolean shader = true;
// 	public int HQ = 5;
// 	public boolean RGB = true;
// 	public float daylight = 1.0f;
// 	public boolean cheatMagic = false;
// 	public int lightSpeed = 120;
// 	public int resolution = 2;
// 	public boolean fullscreen = false;
// 	public boolean superman = false;
// 	public boolean ultrarate = false;
// 	public boolean multithread = false;//TODO
// 	public float deltaMultiplier = 1;
// 	public boolean vsync = false;
// 	public boolean details = true;
// 	public boolean drawhitbox = false;
// 	public boolean ultrarange = false;
// 	public boolean godmode = false;
// 	public boolean rain = false;
// 	public boolean background = true;
// 	public boolean oldtransition = false;
// 	public int currentTransform = 0;
// 	public boolean goodmagic = true;
// 	public int lightDistance = 2;
// 	public boolean FBORender = false;
// 	public boolean zoomLock = false;
// 	public boolean ratio = true;
// 	public String name = "John";
// 	
// 	public int head = 0;
// 	public int body = 0;
// 	public int arms = 0;
// 	public int legs = 0;
// 	public int eyes = 0;
// 	public int hair = 0;
// 	
// 	public int volume = 10;
// 	public int volumeMusic = 10;
// 	public int volumeFX = 10;
// 	
// 	public int keyboard = HKeys.QWERTY;
// 	
// 	Parameters()
// 	{
// 		
// 	}
// 	
// 	public void disableCheats()
// 	{
// 		drawhitbox = false;
// 		deltaMultiplier = 1;
// 		cheatMagic = false;
// 		rain = false;
// 		godmode = false;
// 		ultrarange = false;
// 		ultrarate = false;
// 		noShadow = false;
// 		superman = false;
// 		fullBright = false;
// 		cheatMagic = false;
// 	}
// 
// 	public void SwitchQuality()
// 	{
// 		HQ++;
// 		if(HQ>=Constants.qualities.length)HQ = 1;
// 	}
// 	
// }


import java.io.IOException;
import java.util.Random;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.InputMultiplexer;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.Mesh;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Pixmap.Format;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.glutils.FrameBuffer;
import com.badlogic.gdx.math.Matrix4;
import com.hexabeast.sandbox.Parameters;
	
	public static FrameBuffer fbo;
	public static Random random;
	
	public static Mesh mesh;

	public static InputMultiplexer inputMultiplexer;
	static Joystick joy;
	
	public static boolean allLoaded;
	
	public static void sCreate()
	{
		allLoaded = false;
		noUI = false;
		multiplayer = false;
		host = false;
		ingame = false;
		time = 0;
		pause = false;
		loaded = false;
		zoom = 1;
		backtom = false;
		
		inputMultiplexer = new InputMultiplexer();
		
		if(NetworkManager.instance != null && NetworkManager.instance.server != null)NetworkManager.instance.server.stop();
		network= new NetworkManager();
		//if(multiplayer)network.connectLocal();
		
// Path: core/src/com/hexabeast/sandbox/Parameters.java
// public class Parameters {
// 	public static Parameters i;
// 	
// 	public boolean fullBright = false;
// 	public boolean noShadow = false;
// 	public boolean shader = true;
// 	public int HQ = 5;
// 	public boolean RGB = true;
// 	public float daylight = 1.0f;
// 	public boolean cheatMagic = false;
// 	public int lightSpeed = 120;
// 	public int resolution = 2;
// 	public boolean fullscreen = false;
// 	public boolean superman = false;
// 	public boolean ultrarate = false;
// 	public boolean multithread = false;//TODO
// 	public float deltaMultiplier = 1;
// 	public boolean vsync = false;
// 	public boolean details = true;
// 	public boolean drawhitbox = false;
// 	public boolean ultrarange = false;
// 	public boolean godmode = false;
// 	public boolean rain = false;
// 	public boolean background = true;
// 	public boolean oldtransition = false;
// 	public int currentTransform = 0;
// 	public boolean goodmagic = true;
// 	public int lightDistance = 2;
// 	public boolean FBORender = false;
// 	public boolean zoomLock = false;
// 	public boolean ratio = true;
// 	public String name = "John";
// 	
// 	public int head = 0;
// 	public int body = 0;
// 	public int arms = 0;
// 	public int legs = 0;
// 	public int eyes = 0;
// 	public int hair = 0;
// 	
// 	public int volume = 10;
// 	public int volumeMusic = 10;
// 	public int volumeFX = 10;
// 	
// 	public int keyboard = HKeys.QWERTY;
// 	
// 	Parameters()
// 	{
// 		
// 	}
// 	
// 	public void disableCheats()
// 	{
// 		drawhitbox = false;
// 		deltaMultiplier = 1;
// 		cheatMagic = false;
// 		rain = false;
// 		godmode = false;
// 		ultrarange = false;
// 		ultrarate = false;
// 		noShadow = false;
// 		superman = false;
// 		fullBright = false;
// 		cheatMagic = false;
// 	}
// 
// 	public void SwitchQuality()
// 	{
// 		HQ++;
// 		if(HQ>=Constants.qualities.length)HQ = 1;
// 	}
// 	
// }


// Path: core/src/com/hexabeast/sandbox/Main.java
import java.io.IOException;
import java.util.Random;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.InputMultiplexer;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.Mesh;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Pixmap.Format;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.glutils.FrameBuffer;
import com.badlogic.gdx.math.Matrix4;
import com.hexabeast.sandbox.Parameters;

	
	public static FrameBuffer fbo;
	public static Random random;
	
	public static Mesh mesh;

	public static InputMultiplexer inputMultiplexer;
	static Joystick joy;
	
	public static boolean allLoaded;
	
	public static void sCreate()
	{
		allLoaded = false;
		noUI = false;
		multiplayer = false;
		host = false;
		ingame = false;
		time = 0;
		pause = false;
		loaded = false;
		zoom = 1;
		backtom = false;
		
		inputMultiplexer = new InputMultiplexer();
		
		if(NetworkManager.instance != null && NetworkManager.instance.server != null)NetworkManager.instance.server.stop();
		network= new NetworkManager();
		//if(multiplayer)network.connectLocal();
		
		Parameters.i = new Parameters();