public static void main(String [] args) {
		display.CreateDisplay.frame();
//		Model model = new Model("Glass");
//		model.createModel();
				
		while(!Display.isCloseRequested()) {
			
			switch(state){
			
			case Main_Menu: 
				Menu.startup();
				Menu.loop();
				Menu.stop();
				break;
				
			case ThreeDeeTest:
				ThreeDeeTest.startup();
				ThreeDeeTest.loop();
				//ThreeDeeTest.stop();
				break;	
			
			case FirstPerson:
				FirstPerson.startup();
				FirstPerson.loop();
				FirstPerson.stop();
				break;
				
			case Closing:
				Closing.loop();
				break;
				
			case ModelTest:
				ModelTest.main();
			}
		}

		Closing.loop();
	}