public void setDestination(double x, double y){
		xStart = this.x;
		yStart = this.y;
		
		destinationX = x;
		destinationY = y;
		
		if(destinationX > this.x){
			destinationX -= sprite.SIZE / 2;
		}else if(destinationX < this.x){
			destinationX += sprite.SIZE / 2;
		}
		
		if(destinationY > this.y){
			destinationY -= sprite.SIZE / 2;
		}else if(destinationY < this.y){
			destinationY += sprite.SIZE / 2;
		}
		
		double dx = x - (1024);
		double dy = y - (768);
		double dir = Math.atan2(dy, dx);
		
		if(destinationX > this.x){
			xd = -speed * Math.cos(dir);
		}else if(destinationX < this.x){
			xd = speed * Math.cos(dir);
		}
		
		if(destinationY > this.y){
			yd = -speed * Math.sin(dir);
		}else if(destinationY < this.y){
			yd = speed * Math.sin(dir);
		}
	}