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.ByteBuffercmdBufstatic byteTO_ACTIVATE_CHUNKMAPstatic byteTO_ADD_VEHICLEstatic byteTO_DEBUG_DRAW_WORLDstatic byteTO_ENDstatic byteTO_INIT_WORLDstatic byteTO_SCROLL_CHUNKMAPstatic byteTO_STEP_SIMULATIONstatic byteTO_UPDATE_CHUNKstatic byteTO_UPDATE_PLAYER_LIST -
Constructor Summary
Constructors Constructor Description Bullet() -
Method Summary
Modifier and Type Method Description static voidactivateChunkMap(int int1, int int2, int int3, int int4)static intaddPhysicsObject(float float1, float float2)static voidaddVehicle(int int1, float float1, float float2, float float3, float float4, float float5, float float6, float float7, java.lang.String string)static voidapplyCentralForceToVehicle(int int1, float float1, float float2, float float3)static voidapplyTorqueToVehicle(int int1, float float1, float float2, float float3)static voidbeginUpdateChunk(IsoChunk chunk)static voidbrekingVehicle(int int1, float float1)static voidCatchToBullet(java.nio.ByteBuffer bb)static voidcontrolVehicle(int int1, float float1, float float2, float float3)static voidcreateServerCell(int int1, int int2)static voiddeactivateChunkMap(int int1)static voiddebugDrawWorld(int int1, int int2)static voiddefineVehicleScript(java.lang.String string, float[] floatArray)static voiddestroyWorld()static voidendUpdateChunk()static intgetCollisions(int int1, float[] floatArray)static intgetObjectPhysics(float[] floatArray)static intgetOwnVehiclePhysics(int int1, float[] floatArray)static intgetVehicleCount()static intgetVehiclePhysics(int int1, float[] floatArray)static voidinit()static voidinitWorld(int int1, int int2, boolean boolean1)static voidinitWorld(int offsetX, int offsetY, int wx, int wy, int chunkGridWidth)static voidremoveServerCell(int int1, int int2)static voidremoveVehicle(int int1)static voidscrollChunkMap(int int1, int int2)static voidscrollChunkMapDown(int playerIndex)static voidscrollChunkMapLeft(int playerIndex)static voidscrollChunkMapRight(int playerIndex)static voidscrollChunkMapUp(int playerIndex)static intsetOwnVehiclePhysics(int int1, float[] floatArray)static voidsetTireInflation(int int1, int int2, float float1)static voidsetTireRemoved(int int1, int int2, boolean boolean1)static voidsetVehicleActive(int int1, boolean boolean1)static intsetVehicleMass(int int1, float float1)static intsetVehicleParams(int int1, float[] floatArray)static voidstepSimulation(float float1, int int1, float float2)static voidteleportVehicle(int int1, float float1, float float2, float float3, float float4, float float5, float float6, float float7)static voidupdateChunk(int x, int y, int z, int numShapes, byte[] shapes)static voidupdatePlayerList(java.util.ArrayList players)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 bb) -
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 offsetX, int offsetY, int wx, int wy, int chunkGridWidth) -
updatePlayerList
public static void updatePlayerList(java.util.ArrayList players) -
beginUpdateChunk
-
updateChunk
public static void updateChunk(int x, int y, int z, int numShapes, byte[] shapes) -
endUpdateChunk
public static void endUpdateChunk() -
scrollChunkMap
public static void scrollChunkMap(int int1, int int2) -
scrollChunkMapLeft
public static void scrollChunkMapLeft(int playerIndex) -
scrollChunkMapRight
public static void scrollChunkMapRight(int playerIndex) -
scrollChunkMapUp
public static void scrollChunkMapUp(int playerIndex) -
scrollChunkMapDown
public static void scrollChunkMapDown(int playerIndex) -
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)
-