Package com.l2jfrozen.gameserver.network.serverpackets

Examples of com.l2jfrozen.gameserver.network.serverpackets.VehicleDeparture


        double cos = dx / distance;
        double sin = dy / distance;

        _boat.getPosition().setHeading((int) (Math.atan2(-sin, -cos) * 10430.378350470452724949566316381) + 32768);

        _boat._vd = new VehicleDeparture(_boat, bp.speed1, bp.speed2, bp.x, bp.y, bp.z);
        //_boat.getTemplate().baseRunSpd = bp.speed1;
        boatSpeed = bp.speed1;
        _boat.moveToLocation(bp.x, bp.y, bp.z, (float) bp.speed1);
        Collection<L2PcInstance> knownPlayers = _boat.getKnownList().getKnownPlayers().values();
        if(knownPlayers == null || knownPlayers.isEmpty())
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.network.serverpackets.VehicleDeparture

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.