Examples of decreaseSpeed()


Examples of ch.fork.AdHocRailway.domain.locomotives.LocomotiveControlface.decreaseSpeed()

            if (myLocomotive == null)
                return;
            try {
                LocomotiveControlface locomotiveControl = AdHocRailway
                        .getInstance().getLocomotiveControl();
                locomotiveControl.decreaseSpeed(myLocomotive);
                updateWidget();
                speedBar.requestFocus();
            } catch (LocomotiveException e3) {
                ExceptionProcessor.getInstance().processException(e3);
            }
View Full Code Here

Examples of mods.railcraft.common.carts.EntityLocomotive.decreaseSpeed()

        } else if (binding == LOCOMOTIVE_DECREASE_SPEED) {
            for (EntityMinecart cart : train) {
                if (cart instanceof EntityLocomotive) {
                    EntityLocomotive loco = (EntityLocomotive) cart;
                    if (loco.canControl(entiyPlayer.getGameProfile()))
                        loco.decreaseSpeed();
                }
            }
        } else if (binding == LOCOMOTIVE_MODE_CHANGE) {
            for (EntityMinecart cart : train) {
                if (cart instanceof EntityLocomotive) {
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.