Package com.bergerkiller.bukkit.tc.pathfinding

Examples of com.bergerkiller.bukkit.tc.pathfinding.PathNode.containsName()


          destination = prop.getDestination();
          prop.setLastPathNode(node.getName());
        }
        // Continue with path finding if a valid destination is specified
        // If the current node denotes the destination - don't switch!
        if (!LogicUtil.nullOrEmpty(destination) && !node.containsName(destination)) {
          if (PathProvider.isProcessing()) {
            double currentForce = info.getGroup().getAverageForce();
            // Add an action to let the train wait until the node IS explored
            info.getGroup().getActions().addAction(new GroupActionWaitPathFinding(info, node, destination));
            info.getMember().getActions().addActionLaunch(info.getMember().getDirectionFrom(), 1.0, currentForce);
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.