Package com.flansmod.common.driveables

Examples of com.flansmod.common.driveables.EntityVehicle


  public PacketVehicleControl() {}

  public PacketVehicleControl(EntityDriveable driveable)
  {
    super(driveable);
    EntityVehicle vehicle = (EntityVehicle)driveable;
    doors = vehicle.varDoor;
  }
View Full Code Here


 
  @Override
  protected void updateDriveable(EntityDriveable driveable, boolean clientSide)
  {
    super.updateDriveable(driveable, clientSide);
    EntityVehicle vehicle = (EntityVehicle)driveable;
    vehicle.varDoor = doors;
  }
View Full Code Here

    avelz = driveable.angularVelocity.z;
    throttle = driveable.throttle;
    fuelInTank = driveable.driveableData.fuelInTank;
    if(driveable instanceof EntityVehicle)
    {
      EntityVehicle veh = (EntityVehicle)driveable;
      steeringYaw = veh.wheelsYaw;
    }
    else if(driveable instanceof EntityPlane)
    {
      EntityPlane plane = (EntityPlane)driveable;
View Full Code Here

TOP

Related Classes of com.flansmod.common.driveables.EntityVehicle

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.