Package games.stendhal.server.entity.creature

Examples of games.stendhal.server.entity.creature.CircumstancesOfDeath


     *  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());
            }
          }
      }
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.creature.CircumstancesOfDeath

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.