public void onKeyTyped(char c, int i)
	{
		for(Gui sub : this.subs)
			sub.onKeyTyped(c, i);
		if(this.focused != -1)
		{
			switch(i)
			{
				case KeyEvent.VK_UP:
					this.subs.get(this.focused).isFocused = false;
					this.focused--;
					break;
				case KeyEvent.VK_DOWN:
					this.subs.get(this.focused).isFocused = false;
					this.focused++;
					break;
				case KeyEvent.VK_ENTER:
					this.subs.get(this.focused).onMouseClicked(this.subs.get(this.focused).x+this.subs.get(this.focused).width/2, this.subs.get(this.focused).y+this.subs.get(this.focused).height/2, 0);
					break;
			}
			if(this.focused < 0)
				this.focused = this.subs.size()-1;
			if(this.focused >= this.subs.size())
				this.focused = 0;
			this.subs.get(this.focused).isFocused = true;
		}
	}