Package com.flansmod.common.driveables

Examples of com.flansmod.common.driveables.EntityPlane


      EntityVehicle veh = (EntityVehicle)driveable;
      steeringYaw = veh.wheelsYaw;
    }
    else if(driveable instanceof EntityPlane)
    {
      EntityPlane plane = (EntityPlane)driveable;
      steeringYaw = plane.flapsYaw;
    }
  }
View Full Code Here


  public PacketPlaneControl() {}

  public PacketPlaneControl(EntityDriveable driveable)
  {
    super(driveable);
    EntityPlane plane = (EntityPlane)driveable;
    gear = plane.varGear;
    doors = plane.varDoor;
    wings = plane.varWing;
  }
View Full Code Here

 
  @Override
  protected void updateDriveable(EntityDriveable driveable, boolean clientSide)
  {
    super.updateDriveable(driveable, clientSide);
    EntityPlane plane = (EntityPlane)driveable;
    plane.varDoor = doors;
    plane.varGear = gear;
    plane.varWing = wings;
  }
View Full Code Here

TOP

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

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.