Package zombie.vehicles
Class VehicleManager
java.lang.Object
zombie.vehicles.VehicleManager
public class VehicleManager
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VehicleManager.PosUpdateVars
static class
VehicleManager.VehiclePacket
-
Field Summary
Fields Modifier and Type Field Description UdpConnection[]
connected
static VehicleManager
instance
static short
physicsDelay
-
Constructor Summary
Constructors Constructor Description VehicleManager()
-
Method Summary
Modifier and Type Method Description void
clientPacket(java.nio.ByteBuffer byteBuffer)
void
clientUpdate()
BaseVehicle
getVehicleByID(short short1)
java.util.ArrayList
getVehicles()
static void
loadingClientPacket(java.nio.ByteBuffer byteBuffer)
void
registerVehicle(BaseVehicle baseVehicle)
void
removeFromWorld(BaseVehicle baseVehicle)
void
sendAddImpulse(BaseVehicle baseVehicle, Vector3f vector3f, Vector3f vector3f2)
void
sendCollide(BaseVehicle baseVehicle, IsoGameCharacter gameCharacter, boolean boolean1)
void
sendEngineSound(BaseVehicle baseVehicle, float float1, float float2)
void
sendEnter(BaseVehicle baseVehicle, int int1, IsoGameCharacter gameCharacter)
void
sendExit(BaseVehicle baseVehicle, IsoGameCharacter gameCharacter)
void
sendPassengerPosition(BaseVehicle baseVehicle, int int1, java.lang.String string)
void
sendPassengerPosition(BaseVehicle baseVehicle, int int1, java.lang.String string, UdpConnection udpConnection)
void
sendPhysic(BaseVehicle baseVehicle)
void
sendREnter(BaseVehicle baseVehicle, int int1, IsoGameCharacter gameCharacter)
void
sendReqestGetFull(short short1)
void
sendReqestGetFull(java.util.List list)
void
sendReqestGetPosition(short short1)
void
sendRExit(BaseVehicle baseVehicle, IsoGameCharacter gameCharacter)
static void
sendSound(BaseVehicle baseVehicle, byte byte1)
static void
sendSoundFromServer(BaseVehicle baseVehicle, byte byte1)
void
sendSwichSeat(BaseVehicle baseVehicle, int int1, IsoGameCharacter gameCharacter)
void
serverPacket(java.nio.ByteBuffer byteBuffer, UdpConnection udpConnection)
static void
serverSendVehiclesConfig(UdpConnection udpConnection)
void
serverUpdate()
void
unregisterVehicle(BaseVehicle baseVehicle)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
physicsDelay
public static short physicsDelay -
connected
-
-
Constructor Details
-
VehicleManager
public VehicleManager()
-
-
Method Details
-
registerVehicle
-
unregisterVehicle
-
getVehicleByID
-
getVehicles
public java.util.ArrayList getVehicles() -
removeFromWorld
-
serverUpdate
public void serverUpdate() -
serverPacket
-
serverSendVehiclesConfig
-
clientUpdate
public void clientUpdate() -
clientPacket
public void clientPacket(java.nio.ByteBuffer byteBuffer) -
loadingClientPacket
public static void loadingClientPacket(java.nio.ByteBuffer byteBuffer) -
sendCollide
-
sendEnter
-
sendSound
-
sendSoundFromServer
-
sendPassengerPosition
-
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
-
sendREnter
-
sendSwichSeat
-
sendExit
-
sendRExit
-
sendPhysic
-
sendEngineSound
-