* in player's quest slot.
*/
class RatsObserver implements Observer {
public void update (Observable obj, Object arg) {
if (arg instanceof CircumstancesOfDeath) {
final CircumstancesOfDeath circs=(CircumstancesOfDeath)arg;
if(RAT_ZONES.contains(circs.getZone().getName())) {
if(circs.getKiller() instanceof Player) {
final Player player = (Player) circs.getKiller();
killsRecorder(player, circs.getVictim());
}
notifyDead(circs.getVictim());
}
}
}