public void switchState(int state){
		
		/*
		 * STATES:
		 * 
		 * 1 - Login
		 * 2 - Player select
		 * 3 - Edit mode
		 * 4 - Fight mode
		 * 5 - World map
		 */
		
		switch(state){
			case 1:
				menu = new MainMenu(font, this, mouse, key);
				this.state.setState(1);
				break;
			case 2:
				menu = new PlayerSelect(this, font, mouse, key, random);
				this.state.setState(2);
				break;
			case 3:
				dungeon = new Edit(this.state, mouse, key, font, screen, random);
				this.state.setState(3);
				break;
			case 4:
				dungeon = new Fight(this.state, mouse, key, font, screen, random);
				this.state.setState(4);
				break;
			case 5:
				this.state.setState(5);
				break;
			case 6:
				this.state.setState(6);
				break;
			default:
				menu = new MainMenu(font, this, mouse, key);
				this.state.setState(1);
				break;
		}
	}