public void move(int direction, int distance){
		switch (direction){
		case 1:
			yPosition-=distance;
			break;
		case 2:
			xPosition+=distance;
			break;
		case 3:
			yPosition+=distance;
			break;
		case 4:
			xPosition-=distance;
			break;
		}
	}