question: private List < Sheep > sheepInPen ( StendhalRPZone zone ) { List < Sheep > sheep = new LinkedList < Sheep > ( ) ; Area pen = getPen ( zone ) ; for ( RPEntity entity : zone . getPlayerAndFriends ( ) ) { if ( entity instanceof Sheep ) { if ( pen . contains ( entity ) ) { sheep . add ( ( Sheep ) entity ) ; } } } return sheep ; }
target:  Get a list of the sheep in the pen.