Package games.stendhal.server.core.pathfinder

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


    final StendhalRPZone zone = fullpath.get(0).first();
    final int x=fullpath.get(0).second().get(0).getX();
    final int y=fullpath.get(0).second().get(0).getY();
    piedpiper.setPosition(x, y);
    piedpiper.pathnotifier.setObserver(
        new MultiZonesFixedPath(piedpiper, fullpath,
            new NPCFollowing(ThePiedPiper.getMainNPC(), piedpiper,
                new NPCChatting(ThePiedPiper.getMainNPC(), piedpiper, this))));
    piedpiper.setPath(new FixedPath(fullpath.get(0).second(), false));
    zone.add(piedpiper);
  }
View Full Code Here

TOP

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

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.