Package net.sf.l2j.gameserver.serverpackets

Examples of net.sf.l2j.gameserver.serverpackets.VehicleDeparture


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

        _boat._vd = new VehicleDeparture(_boat,bp.speed1,bp.speed2,bp.x,bp.y,bp.z);
        //_boat.getTemplate().baseRunSpd = 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())
          return bp.time;
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.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.