Package zombie.core.physics
Class WorldSimulation
java.lang.Object
zombie.core.physics.WorldSimulation
Created by LEMMYPC on 07/01/14.
-
Field Summary
Modifier and TypeFieldDescriptionboolean
static WorldSimulation
static final boolean
float
float
long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activateChunkMap
(int playerIndex) void
create()
void
deactivateChunkMap
(int playerIndex) void
destroy()
static TextureDraw.GenericDrawer
getDrawer
(int playerIndex) void
scrollGroundDown
(int playerIndex) void
scrollGroundLeft
(int playerIndex) void
scrollGroundRight
(int playerIndex) void
scrollGroundUp
(int playerIndex) int
setOwnVehiclePhysics
(int vid, float[] data) void
update()
-
Field Details
-
instance
-
LEVEL_ZERO_ONLY
public static final boolean LEVEL_ZERO_ONLY- See Also:
-
physicsObjectMap
-
created
public boolean created -
offsetX
public float offsetX -
offsetY
public float offsetY -
time
public long time
-
-
Constructor Details
-
WorldSimulation
public WorldSimulation()
-
-
Method Details
-
create
public void create() -
destroy
public void destroy() -
update
public void update() -
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
-