Examples of dontNotify()


Examples of games.stendhal.server.core.events.TurnNotifier.dontNotify()

      final TurnNotifier turnNotifier = SingletonRepository.getTurnNotifier();
      if (isOpen()) {
        // The door is still open because another player just used it.
        // Thus, it is scheduled to auto-close soon. We delay this
        // auto-closing.
        turnNotifier.dontNotify(this);
      } else {
        open();
      }

      // register automatic close
View Full Code Here

Examples of games.stendhal.server.core.events.TurnNotifier.dontNotify()

        }
      }
      setResistance(100);
      // Stop the notifier, so that the door does not slam in front
      // of someone who just opened it
      turnNotifier.dontNotify(this);
    }
    isOpen = open;
    notifyWorldAboutChanges();
  }
View Full Code Here

Examples of games.stendhal.server.core.events.TurnNotifier.dontNotify()

    final TurnNotifier notifier = SingletonRepository.getTurnNotifier();
    // first remove all effects from previously used immunities to
    // restart the timer
   
    final TurnListener tl = new AntidoteEater(player);
    notifier.dontNotify(tl);
    notifier.notifyInTurns(item.getAmount(), tl);
    item.removeOne();
   
    return true;
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.