Package games.stendhal.server.core.pathfinder

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


        nodes.add(new Node(11,45));
        nodes.add(new Node(11,46));
        nodes.add(new Node(8,46));
        nodes.add(new Node(8,47));
        nodes.add(new Node(6,47));
        setPath(new FixedPath(nodes, true));
      }

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


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

      }

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

        nodes.add(new Node(85,16));
        nodes.add(new Node(85,32));
        nodes.add(new Node(107,32));
        nodes.add(new Node(107,2));

        setPath(new FixedPath(nodes, true));
      }

    };
    npc.setPosition(37, 2);
    npc.setEntityClass("experiencedwarriornpc");
View Full Code Here

        final List<Node> nodes = new LinkedList<Node>();
        nodes.add(new Node(2, 18));
        nodes.add(new Node(2, 14));
        nodes.add(new Node(3, 14));
        nodes.add(new Node(3, 18));
        setPath(new FixedPath(nodes, true));

      }

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

        nodes.add(new Node(27, 8));
        nodes.add(new Node(27, 5));
        nodes.add(new Node(27, 10));
        nodes.add(new Node(8, 10));
        nodes.add(new Node(8, 12));
        setPath(new FixedPath(nodes, true));
      }

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

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

      @Override
      protected void createDialog() {
        addGreeting("*grrr* You dare come in my shop?");
View Full Code Here

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

      @Override
      protected void createDialog() {
        addGreeting("Hi. Hope you are enjoying our wonderful theater.");
View Full Code Here

      @Override
      protected void createPath() {
        final List<Node> nodes = new LinkedList<Node>();
        nodes.add(new Node(67,68));
        nodes.add(new Node(67,63));
        setPath(new FixedPath(nodes, true));
      }
     
      @Override
      public void createDialog() {
        addGreeting("Don't disturb me, I'm trying to establish a record!");
View Full Code Here

        final List<Node> nodes = new LinkedList<Node>();
        nodes.add(new Node(33, 45));
        nodes.add(new Node(33, 43));
        nodes.add(new Node(23, 43));
        nodes.add(new Node(23, 45));
        setPath(new FixedPath(nodes, true));
      }

      @Override
      protected void createDialog() {
        class SheepSellerBehaviour extends SellerBehaviour {
View Full Code Here

      @Override
      protected void createPath() {
        final List<Node> nodes = new LinkedList<Node>();
        nodes.add(new Node(5, 2));
        nodes.add(new Node(10, 2));
        setPath(new FixedPath(nodes, true));

      }

    @Override
    protected void createDialog() {
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.