public void move(int xa, int ya){
		if(xa != 0 && ya != 0){
			move(xa, 0);
			move(0, ya);
			return;
		}	
			
		if(knockback <= 0){
			if(xa > 0) dir = 1;
			if(xa < 0) dir = 3;
			if(ya > 0) dir = 2;
			if(ya < 0) dir = 0;
		}
		if(attDir != -1) dir = attDir;
		
		
		if(tileCollision(xa, ya)) return;
		if(mobCollision(xa, ya)) return;	
		
		moving = true;
		x += xa;
		y += ya;
		
		return;
	}