public void chasePlayer(){
		if(abs(this.x - player.getX()) > abs(this.y - player.getY())){
			if(player.getX() < this.getX()){
				this.dx = -1;
				if(this.dy > 0){
					dy -= .03;
				}
				else{
					dy += .03;
				}
			}
			if(player.getX() > this.getX()){
				this.dx = 1;
				if(this.dy > 0){
					dy -= .03;
				}
				else{
					dy += .03;
				}
			}
		}
		else {
			if(player.getY() > this.getY()){
				this.dy = 1;
				if(this.dx > 0){
					dx -= .03;
				}
				else{
					dx += .03;
				}
			}
			if(player.getY() < this.getY()){
				this.dy = -1;
			}
			if(this.dx > 0){
				dx -= .03;
			}
			else{
				dx += .03;
			}
		}
	}