Examples of TriggerList


Examples of games.stendhal.common.parser.TriggerList

  public TriggerIsProducedItemOfClassCondition(final String clazz) {
    this.clazz = clazz;
  }

  public boolean fire(final Player player, final Sentence sentence, final Entity entity) {
    TriggerList triggers = new TriggerList (producerRegister.getProducedItemNames(clazz));
    return triggers.contains(sentence.getTriggerExpression());
  }
View Full Code Here

Examples of games.stendhal.common.parser.TriggerList

   *
   * @param trigger
   *            list of trigger
   */
  public TriggerInListCondition(final List<String> trigger) {
    triggers = new TriggerList(trigger);
  }
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.