Package games.stendhal.server.core.pathfinder

Examples of games.stendhal.server.core.pathfinder.FixedPath


        nodes.add(new Node(114, 77));
        nodes.add(new Node(98, 77));
        nodes.add(new Node(98, 69));
        nodes.add(new Node(116, 69));
        nodes.add(new Node(116, 77));
        setPath(new FixedPath(nodes, true));
      }

      @Override
      protected void createDialog() {
        addGreeting("Hey.");
View Full Code Here


      @Override
      protected void createPath() {
        final List<Node> nodes = new LinkedList<Node>();
        nodes.add(new Node(15, 3));
        nodes.add(new Node(15, 16));
        setPath(new FixedPath(nodes, true));
      }

      @Override
      protected void createDialog() {
        addGreeting("Welcome to the Fado Bank! Do you need #help?");
View Full Code Here

        // to the right wall
        nodes.add(new Node(18, 5));
        nodes.add(new Node(18, 3));
        // to the starting point
        nodes.add(new Node(5, 3));
        setPath(new FixedPath(nodes, true));
      }

      @Override
      protected void createDialog() {
        addGreeting("Hi!");
View Full Code Here

        nodes.add(new Node(15, 7));
        nodes.add(new Node(15, 6));
        nodes.add(new Node(17, 6));
        nodes.add(new Node(17, 7));
        nodes.add(new Node(17, 3));
        setPath(new FixedPath(nodes, true));
      }

      @Override
      protected void createDialog() {
        addGreeting(null, new SayTextWithPlayerNameAction("Hi again, [name]. How can I #help you this time?"));
View Full Code Here

      @Override
      protected void createPath() {
        final List<Node> nodes = new LinkedList<Node>();
        nodes.add(new Node(28, 12));
        nodes.add(new Node(28, 21));
        setPath(new FixedPath(nodes, true));
      }

      @Override
      protected void createDialog() {
        addGreeting();
View Full Code Here

  private void createNPC(StendhalRPZone zone) {
    final SpeakerNPC npc = new SpeakerNPC("Megan") {

      @Override
      protected void createPath() {
        setPath(new FixedPath(Arrays.asList(
          new Node(25, 13),
          new Node(26, 13),
          new Node(26, 8),
          new Node(22, 8),
          new Node(22, 6),
View Full Code Here

        nodes.add(new Node(98, 31));
        nodes.add(new Node(98, 23));
        nodes.add(new Node(100, 23));
        nodes.add(new Node(100, 21));
        nodes.add(new Node(102, 21));
        setPath(new FixedPath(nodes, true));
      }

      @Override
      protected void createDialog() {
View Full Code Here

        nodes.add(new Node(21, 54));
        nodes.add(new Node(21, 45));
        nodes.add(new Node(26, 45));
        nodes.add(new Node(26, 37));
        nodes.add(new Node(29, 37));
        setPath(new FixedPath(nodes, true));
      }

      @Override
      protected void createDialog() {
        addGreeting("Greetings, strange foreigner!");
View Full Code Here

                nodes.add(new Node(28,5));
                nodes.add(new Node(22,5));
                nodes.add(new Node(22,4));
                nodes.add(new Node(22,7));
                nodes.add(new Node(26,7));
        setPath(new FixedPath(nodes, true));
      }

      @Override
      public void createDialog() {
        addJob("I'm the shop assistant at this bakery.");
View Full Code Here

        nodes.add(new Node(5,3));
        // one step back
        nodes.add(new Node(5,4));
        // towards the well
        nodes.add(new Node(15,4));
        setPath(new FixedPath(nodes, true));
      }

      @Override
      public void createDialog() {
        addJob("I'm the local baker. I also run a #pizza delivery service. We used to get a lot of orders from Ados before the war broke out and they blocked the road. At least it gives me more time to #make sandwiches for our valuable customers; everybody says they're great!");
View Full Code Here

TOP

Related Classes of games.stendhal.server.core.pathfinder.FixedPath

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.