Class CarController

java.lang.Object
zombie.core.physics.CarController

public class CarController
extends java.lang.Object
  • Field Details

    • vehicleObject

      public BaseVehicle vehicleObject
    • clientForce

      public float clientForce
    • EngineForce

      public float EngineForce
    • BrakingForce

      public float BrakingForce
    • isEnable

      public boolean isEnable
    • acceleratorOn

      public boolean acceleratorOn
    • brakeOn

      public boolean brakeOn
    • speed

      public float speed
    • gears

      public static CarController.GearInfo[] gears
    • clientControls

      public CarController.ClientControls clientControls
  • Constructor Details

    • CarController

      public CarController​(BaseVehicle baseVehicle)
  • Method Details

    • findGear

      public CarController.GearInfo findGear​(float float1)
    • accelerator

      public void accelerator​(boolean boolean1)
    • brake

      public void brake​(boolean boolean1)
    • getClientControls

      public CarController.ClientControls getClientControls()
    • setClientControls

      public void setClientControls​(CarController.ClientControls clientControls)
    • update

      public void update()
    • updateControls

      public void updateControls()
    • render

      public void render()
    • park

      public void park()
    • debug

      public void debug()
    • drawRect

      public void drawRect​(Vector3f vector3f, float float1, float float2, float float3, float float4)
    • drawRect

      public void drawRect​(Vector3f vector3f, float float1, float float2, float float3, float float4, float float5, float float6, float float7)
    • drawCircle

      public void drawCircle​(float float1, float float2, float float3)
    • drawCircle

      public void drawCircle​(float float1, float float2, float float3, float float4, float float5, float float6, float float7)