question: private void notifyDead ( final RPEntity dead ) { if ( ! rats . remove ( dead ) ) { logger . warn ( "killed creature isn't in control list (" + dead . toString ( ) + ")." ) ; } if ( rats . size ( ) == 0 ) { phaseToDefaultPhase ( new LinkedList < String > ( Arrays . asList ( "pied piper" ) ) ) ; } }
target:  function to control amount of alive rats.