Class WorldSimulation

java.lang.Object
zombie.core.physics.WorldSimulation

public class WorldSimulation
extends java.lang.Object
  • Field Details

    • instance

      public static WorldSimulation 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

      protected Transform tempTransform
    • javaxQuat4f

      protected Quaternionf javaxQuat4f
  • Constructor Details

    • WorldSimulation

      public WorldSimulation()
  • Method Details

    • create

      public void create()
    • destroy

      public void destroy()
    • update

      public void update()
    • createServerCell

      public void createServerCell​(ServerMap.ServerCell serverCell)
    • removeServerCell

      public void removeServerCell​(ServerMap.ServerCell serverCell)
    • getOwnVehiclePhysics

      public int getOwnVehiclePhysics​(int vid, ByteBufferWriter bbw)
    • setOwnVehiclePhysics

      public int setOwnVehiclePhysics​(int vid, float[] data)
    • activateChunkMap

      public void activateChunkMap​(int playerIndex)
    • deactivateChunkMap

      public void deactivateChunkMap​(int playerIndex)
    • scrollGroundLeft

      public void scrollGroundLeft​(int playerIndex)
    • scrollGroundRight

      public void scrollGroundRight​(int playerIndex)
    • scrollGroundUp

      public void scrollGroundUp​(int playerIndex)
    • scrollGroundDown

      public void scrollGroundDown​(int playerIndex)
    • getDrawer

      public static TextureDraw.GenericDrawer getDrawer​(int playerIndex)