Class VehicleManager

java.lang.Object
zombie.vehicles.VehicleManager

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

    • instance

      public static VehicleManager instance
    • physicsDelay

      public static short physicsDelay
    • connected

      public UdpConnection[] connected
  • Constructor Details

    • VehicleManager

      public VehicleManager()
  • Method Details

    • registerVehicle

      public void registerVehicle​(BaseVehicle baseVehicle)
    • unregisterVehicle

      public void unregisterVehicle​(BaseVehicle baseVehicle)
    • getVehicleByID

      public BaseVehicle getVehicleByID​(short short1)
    • getVehicles

      public java.util.ArrayList getVehicles()
    • removeFromWorld

      public void removeFromWorld​(BaseVehicle baseVehicle)
    • serverUpdate

      public void serverUpdate()
    • serverPacket

      public void serverPacket​(java.nio.ByteBuffer byteBuffer, UdpConnection udpConnection)
    • serverSendVehiclesConfig

      public static void serverSendVehiclesConfig​(UdpConnection udpConnection)
    • clientUpdate

      public void clientUpdate()
    • clientPacket

      public void clientPacket​(java.nio.ByteBuffer byteBuffer)
    • loadingClientPacket

      public static void loadingClientPacket​(java.nio.ByteBuffer byteBuffer)
    • sendCollide

      public void sendCollide​(BaseVehicle baseVehicle, IsoGameCharacter gameCharacter, boolean boolean1)
    • sendEnter

      public void sendEnter​(BaseVehicle baseVehicle, int int1, IsoGameCharacter gameCharacter)
    • sendSound

      public static void sendSound​(BaseVehicle baseVehicle, byte byte1)
    • sendSoundFromServer

      public static void sendSoundFromServer​(BaseVehicle baseVehicle, byte byte1)
    • sendPassengerPosition

      public void sendPassengerPosition​(BaseVehicle baseVehicle, int int1, java.lang.String string)
    • sendPassengerPosition

      public void sendPassengerPosition​(BaseVehicle baseVehicle, int int1, java.lang.String string, UdpConnection udpConnection)
    • sendReqestGetFull

      public void sendReqestGetFull​(short short1)
    • sendReqestGetFull

      public void sendReqestGetFull​(java.util.List list)
    • sendReqestGetPosition

      public void sendReqestGetPosition​(short short1)
    • sendAddImpulse

      public void sendAddImpulse​(BaseVehicle baseVehicle, Vector3f vector3f, Vector3f vector3f2)
    • sendREnter

      public void sendREnter​(BaseVehicle baseVehicle, int int1, IsoGameCharacter gameCharacter)
    • sendSwichSeat

      public void sendSwichSeat​(BaseVehicle baseVehicle, int int1, IsoGameCharacter gameCharacter)
    • sendExit

      public void sendExit​(BaseVehicle baseVehicle, IsoGameCharacter gameCharacter)
    • sendRExit

      public void sendRExit​(BaseVehicle baseVehicle, IsoGameCharacter gameCharacter)
    • sendPhysic

      public void sendPhysic​(BaseVehicle baseVehicle)
    • sendEngineSound

      public void sendEngineSound​(BaseVehicle baseVehicle, float float1, float float2)