Package games.stendhal.server.entity.npc.condition

Examples of games.stendhal.server.entity.npc.condition.QuestSmallerThanCondition


  private void buildConditions() {
    noFriends = new QuestNotStartedCondition("susi");
    anyFriends = new QuestStartedCondition("susi");
    oldFriends = new OrCondition(
        new QuestInStateCondition("susi", "friends"),
        new QuestSmallerThanCondition("susi", Calendar.getInstance().get(Calendar.YEAR)));
    currentFriends = new QuestInStateCondition("susi", Integer.toString(Calendar.getInstance().get(Calendar.YEAR)));
  }
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.npc.condition.QuestSmallerThanCondition

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.