protected void actionDropingOff ( double extrp ) { progress -= speed * extrp ; final int curProgress = ( int ) Math . floor ( progress ) ; // Check ended if ( curProgress <= 0 ) { for ( final ExtractorListener listener : listeners ) { listener . notifyDroppedOff ( resourceType , lastProgress ) ; } startExtraction ( ) ; } }
Action called from update extraction in drop off state .