Examples of toXYZString()


Examples of l2p.util.Location.toXYZString()

    {
      return "You should define source & dest location (x,y,z=>x,y,z)";
    }
    Location src_loc = new Location(args[0]);
    Location dst_loc = new Location(args[1]);
    String result = "Move checking " + src_loc.toXYZString() + " => " + dst_loc.toXYZString() + "\r\n";
    result += "\t isWater...........................: " + L2World.isWater(dst_loc) + "\r\n";
    result += "\t canMoveToCoord....................: " + GeoEngine.canMoveToCoord(src_loc.x, src_loc.y, src_loc.z, dst_loc.x, dst_loc.y, dst_loc.z, 0) + "\r\n";
    result += "\t moveCheck.........................: " + GeoEngine.moveCheck(src_loc.x, src_loc.y, src_loc.z, dst_loc.x, dst_loc.y, 0).toXYZString() + "\r\n";
    result += "\t moveCheckWithCollision............: " + GeoEngine.moveCheckWithCollision(src_loc.x, src_loc.y, src_loc.z, dst_loc.x, dst_loc.y, 0).toXYZString() + "\r\n";
    result += "\t moveCheckWithCollision[pf_1]......: " + GeoEngine.moveCheckWithCollision(src_loc.x, src_loc.y, src_loc.z, dst_loc.x, dst_loc.y, true, 0).toXYZString() + "\r\n";
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.