Package zombie.core.physics
Class Bullet
java.lang.Object
zombie.core.physics.Bullet
public class Bullet
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static java.nio.ByteBuffer
cmdBuf
static byte
TO_ACTIVATE_CHUNKMAP
static byte
TO_ADD_VEHICLE
static byte
TO_DEBUG_DRAW_WORLD
static byte
TO_END
static byte
TO_INIT_WORLD
static byte
TO_SCROLL_CHUNKMAP
static byte
TO_STEP_SIMULATION
static byte
TO_UPDATE_CHUNK
static byte
TO_UPDATE_PLAYER_LIST
-
Constructor Summary
Constructors Constructor Description Bullet()
-
Method Summary
Modifier and Type Method Description static void
activateChunkMap(int int1, int int2, int int3, int int4)
static int
addPhysicsObject(float float1, float float2)
static void
addVehicle(int int1, float float1, float float2, float float3, float float4, float float5, float float6, float float7, java.lang.String string)
static void
applyCentralForceToVehicle(int int1, float float1, float float2, float float3)
static void
applyTorqueToVehicle(int int1, float float1, float float2, float float3)
static void
beginUpdateChunk(IsoChunk chunk)
static void
brekingVehicle(int int1, float float1)
static void
CatchToBullet(java.nio.ByteBuffer byteBuffer)
static void
controlVehicle(int int1, float float1, float float2, float float3)
static void
createServerCell(int int1, int int2)
static void
deactivateChunkMap(int int1)
static void
debugDrawWorld(int int1, int int2)
static void
defineVehicleScript(java.lang.String string, float[] floatArray)
static void
destroyWorld()
static void
endUpdateChunk()
static int
getCollisions(int int1, float[] floatArray)
static int
getObjectPhysics(float[] floatArray)
static int
getOwnVehiclePhysics(int int1, float[] floatArray)
static int
getVehicleCount()
static int
getVehiclePhysics(int int1, float[] floatArray)
static void
init()
static void
initWorld(int int1, int int2, boolean boolean1)
static void
initWorld(int int1, int int2, int int3, int int4, int int5)
static void
removeServerCell(int int1, int int2)
static void
removeVehicle(int int1)
static void
scrollChunkMap(int int1, int int2)
static void
scrollChunkMapDown(int int1)
static void
scrollChunkMapLeft(int int1)
static void
scrollChunkMapRight(int int1)
static void
scrollChunkMapUp(int int1)
static int
setOwnVehiclePhysics(int int1, float[] floatArray)
static void
setTireInflation(int int1, int int2, float float1)
static void
setTireRemoved(int int1, int int2, boolean boolean1)
static void
setVehicleActive(int int1, boolean boolean1)
static int
setVehicleMass(int int1, float float1)
static int
setVehicleParams(int int1, float[] floatArray)
static int
setVehicleStatic(int int1, boolean boolean1)
static void
stepSimulation(float float1, int int1, float float2)
static void
teleportVehicle(int int1, float float1, float float2, float float3, float float4, float float5, float float6, float float7)
static void
updateChunk(int int1, int int2, int int3, int int4, byte[] byteArray)
static void
updatePlayerList(java.util.ArrayList arrayList)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
cmdBuf
public static java.nio.ByteBuffer cmdBuf -
TO_ADD_VEHICLE
public static final byte TO_ADD_VEHICLE- See Also:
- Constant Field Values
-
TO_SCROLL_CHUNKMAP
public static final byte TO_SCROLL_CHUNKMAP- See Also:
- Constant Field Values
-
TO_ACTIVATE_CHUNKMAP
public static final byte TO_ACTIVATE_CHUNKMAP- See Also:
- Constant Field Values
-
TO_INIT_WORLD
public static final byte TO_INIT_WORLD- See Also:
- Constant Field Values
-
TO_UPDATE_CHUNK
public static final byte TO_UPDATE_CHUNK- See Also:
- Constant Field Values
-
TO_DEBUG_DRAW_WORLD
public static final byte TO_DEBUG_DRAW_WORLD- See Also:
- Constant Field Values
-
TO_STEP_SIMULATION
public static final byte TO_STEP_SIMULATION- See Also:
- Constant Field Values
-
TO_UPDATE_PLAYER_LIST
public static final byte TO_UPDATE_PLAYER_LIST- See Also:
- Constant Field Values
-
TO_END
public static final byte TO_END- See Also:
- Constant Field Values
-
-
Constructor Details
-
Bullet
public Bullet()
-
-
Method Details
-
init
public static void init() -
CatchToBullet
public static void CatchToBullet(java.nio.ByteBuffer byteBuffer) -
initWorld
public static void initWorld(int int1, int int2, boolean boolean1) -
destroyWorld
public static void destroyWorld() -
activateChunkMap
public static void activateChunkMap(int int1, int int2, int int3, int int4) -
deactivateChunkMap
public static void deactivateChunkMap(int int1) -
initWorld
public static void initWorld(int int1, int int2, int int3, int int4, int int5) -
updatePlayerList
public static void updatePlayerList(java.util.ArrayList arrayList) -
beginUpdateChunk
-
updateChunk
public static void updateChunk(int int1, int int2, int int3, int int4, byte[] byteArray) -
endUpdateChunk
public static void endUpdateChunk() -
scrollChunkMap
public static void scrollChunkMap(int int1, int int2) -
scrollChunkMapLeft
public static void scrollChunkMapLeft(int int1) -
scrollChunkMapRight
public static void scrollChunkMapRight(int int1) -
scrollChunkMapUp
public static void scrollChunkMapUp(int int1) -
scrollChunkMapDown
public static void scrollChunkMapDown(int int1) -
addVehicle
public static void addVehicle(int int1, float float1, float float2, float float3, float float4, float float5, float float6, float float7, java.lang.String string) -
removeVehicle
public static void removeVehicle(int int1) -
controlVehicle
public static void controlVehicle(int int1, float float1, float float2, float float3) -
setVehicleActive
public static void setVehicleActive(int int1, boolean boolean1) -
applyCentralForceToVehicle
public static void applyCentralForceToVehicle(int int1, float float1, float float2, float float3) -
applyTorqueToVehicle
public static void applyTorqueToVehicle(int int1, float float1, float float2, float float3) -
teleportVehicle
public static void teleportVehicle(int int1, float float1, float float2, float float3, float float4, float float5, float float6, float float7) -
setTireInflation
public static void setTireInflation(int int1, int int2, float float1) -
setTireRemoved
public static void setTireRemoved(int int1, int int2, boolean boolean1) -
stepSimulation
public static void stepSimulation(float float1, int int1, float float2) -
debugDrawWorld
public static void debugDrawWorld(int int1, int int2) -
getVehicleCount
public static int getVehicleCount() -
getVehiclePhysics
public static int getVehiclePhysics(int int1, float[] floatArray) -
getOwnVehiclePhysics
public static int getOwnVehiclePhysics(int int1, float[] floatArray) -
setOwnVehiclePhysics
public static int setOwnVehiclePhysics(int int1, float[] floatArray) -
setVehicleParams
public static int setVehicleParams(int int1, float[] floatArray) -
setVehicleMass
public static int setVehicleMass(int int1, float float1) -
getObjectPhysics
public static int getObjectPhysics(float[] floatArray) -
createServerCell
public static void createServerCell(int int1, int int2) -
removeServerCell
public static void removeServerCell(int int1, int int2) -
addPhysicsObject
public static int addPhysicsObject(float float1, float float2) -
defineVehicleScript
public static void defineVehicleScript(java.lang.String string, float[] floatArray) -
brekingVehicle
public static void brekingVehicle(int int1, float float1) -
getCollisions
public static int getCollisions(int int1, float[] floatArray) -
setVehicleStatic
public static int setVehicleStatic(int int1, boolean boolean1)
-