public void onKeyPressed(int key)
	{
		if(key == Input.KEY_A)
			this.addFacing(new Vector2f(-1.0F, 0));
		else if(key == Input.KEY_D)
			this.addFacing(new Vector2f(1.0F, 0));
		else if(key == Input.KEY_W)
			this.addFacing(new Vector2f(0, -1.0F));
		else if(key == Input.KEY_S)
			this.addFacing(new Vector2f(0, 1.0F));
		else if(key == Input.KEY_1)
		{
			this.inventory.selectSlot(0);
		}
		else if(key == Input.KEY_2)
		{
			this.inventory.selectSlot(1);
		}
		else if(key == Input.KEY_3)
		{
			this.inventory.selectSlot(2);
		}
		
		if(key == Input.KEY_E && hoverTile != null)
			hoverTile.interact(this);
	}