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 class
WorldSimulation.Drawer3
-
Field Summary
Fields Modifier and Type Field Description boolean
created
static WorldSimulation
instance
protected Quaternionf
javaxQuat4f
static boolean
LEVEL_ZERO_ONLY
int
maxSubSteps
float
offsetX
float
offsetY
java.util.HashMap
physicsObjectMap
protected Transform
tempTransform
long
time
-
Constructor Summary
Constructors Constructor Description WorldSimulation()
-
Method Summary
Modifier and Type Method Description void
activateChunkMap(int int1)
void
create()
void
createServerCell(ServerMap.ServerCell serverCell)
void
deactivateChunkMap(int int1)
void
destroy()
static TextureDraw.GenericDrawer
getDrawer(int int1)
int
getOwnVehiclePhysics(int int1, ByteBufferWriter byteBufferWriter)
void
removeServerCell(ServerMap.ServerCell serverCell)
void
scrollGroundDown(int int1)
void
scrollGroundLeft(int int1)
void
scrollGroundRight(int int1)
void
scrollGroundUp(int int1)
int
setOwnVehiclePhysics(int int1, float[] floatArray)
void
update()
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
-