@Override
	public void threadTick(GameThread thread, double delta) {
		if(thread.name == gameThread.name) {		
			framerate = thread.framerate;
			update(delta);	
			Input.update();
		}
		
		//if(thread.name == inputThread.name) {
		//	//Input.update();
		//}
		
		if(thread.name == renderThread.name)
			render();
		
		
	}