private void harvestColor(){
        //OPCIONAL CREAR CLASE DE SOURCE TAMBIEN
        switch(env.getMapObjectInPosition(positionX, positionY)){
            case Environment.REDSOURCE:
                if(currentColor == COLORRED){
                    if(capacity<amountToHarvest){
                        colorAmount = capacity;
                    }
                    else{
                        colorAmount = amountToHarvest;
                    }
                    amountToHarvest-=colorAmount;
                }
                else{
                    //FAIL
                }
                break;
            case Environment.GREENSOURCE:
                if(currentColor == COLORGREEN){
                    if(capacity<amountToHarvest){
                        colorAmount = capacity;
                    }
                    else{
                        colorAmount = amountToHarvest;
                    }
                    amountToHarvest-=colorAmount;
                }
                else{
                    //FAIL
                }
                break;
            case Environment.BLUESOURCE:
                if(currentColor == COLORBLUE){
                    if(capacity<amountToHarvest){
                        colorAmount = capacity;
                    }
                    else{
                        colorAmount = amountToHarvest;
                    }
                    amountToHarvest-=colorAmount;
                }
                else{
                    //FAIL
                }
                break;
            default:
                //FAIL
                break;
        }
    }