Package zombie.core.physics
Class WorldSimulation
java.lang.Object
zombie.core.physics.WorldSimulation
public class WorldSimulation
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorldSimulation.Drawer3 -
Field Summary
Fields Modifier and Type Field Description booleancreatedstatic WorldSimulationinstanceprotected QuaternionfjavaxQuat4fstatic booleanLEVEL_ZERO_ONLYintmaxSubStepsfloatoffsetXfloatoffsetYjava.util.HashMapphysicsObjectMapprotected TransformtempTransformlongtime -
Constructor Summary
Constructors Constructor Description WorldSimulation() -
Method Summary
Modifier and Type Method Description voidactivateChunkMap(int int1)voidcreate()voidcreateServerCell(ServerMap.ServerCell serverCell)voiddeactivateChunkMap(int int1)voiddestroy()static TextureDraw.GenericDrawergetDrawer(int int1)intgetOwnVehiclePhysics(int int1, ByteBufferWriter byteBufferWriter)voidremoveServerCell(ServerMap.ServerCell serverCell)voidscrollGroundDown(int int1)voidscrollGroundLeft(int int1)voidscrollGroundRight(int int1)voidscrollGroundUp(int int1)intsetOwnVehiclePhysics(int int1, float[] floatArray)voidupdate()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
LEVEL_ZERO_ONLY
public static final boolean LEVEL_ZERO_ONLY- See Also:
- Constant Field Values
-
offsetX
public float offsetX -
offsetY
public float offsetY -
maxSubSteps
public int maxSubSteps -
created
public boolean created -
time
public long time -
physicsObjectMap
public java.util.HashMap physicsObjectMap -
tempTransform
-
javaxQuat4f
-
-
Constructor Details
-
WorldSimulation
public WorldSimulation()
-
-
Method Details
-
create
public void create() -
destroy
public void destroy() -
update
public void update() -
createServerCell
-
removeServerCell
-
getOwnVehiclePhysics
-
setOwnVehiclePhysics
public int setOwnVehiclePhysics(int int1, float[] floatArray) -
activateChunkMap
public void activateChunkMap(int int1) -
deactivateChunkMap
public void deactivateChunkMap(int int1) -
scrollGroundLeft
public void scrollGroundLeft(int int1) -
scrollGroundRight
public void scrollGroundRight(int int1) -
scrollGroundUp
public void scrollGroundUp(int int1) -
scrollGroundDown
public void scrollGroundDown(int int1) -
getDrawer
-