public void digHorizontal(){
        //DETERMINE DIRECTION:
        if(blockX<targetBlockX){
            dirMod=1;
        }
        else if(blockX>targetBlockX){
            dirMod=-1;
        }
        else{
            if(x-(blockX*16)<7||x-(blockX*16)>9){
                hspeed = 7*dirMod;
                goSpeed();
            }
            dirMod=0;
            System.out.println(name + " has gotten to target X!");
            myCommand = 0;
        }
        if(isFree(blockX+dirMod,blockY)){
            hspeed=2*dirMod;
        }
        else{
            digBlock(blockX+dirMod,blockY);
        }
    }