Class VehicleStorySpawner
java.lang.Object
zombie.randomizedWorld.randomizedVehicleStory.VehicleStorySpawner
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static interface
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddElement
(String id, float x, float y, float direction, float width, float height) void
clear()
void
getAABB
(float centerX, float centerY, float width, float height, float angleRadians, int[] aabb) static VehicleStorySpawner
<E> E
getParameter
(String key, Class<E> clazz) boolean
float
getParameterFloat
(String key) int
getParameterString
(String key) void
render
(float centerX, float centerY, float z, float width, float height, float angleRadians) void
setParameter
(String key, boolean value) void
setParameter
(String key, float value) void
setParameter
(String key, int value) void
setParameter
(String key, Object value) void
spawn
(float worldX, float worldY, float worldZ, float angleRadians, VehicleStorySpawner.IElementSpawner spawner)
-
Field Details
-
m_elements
-
m_storyParams
-
-
Constructor Details
-
VehicleStorySpawner
public VehicleStorySpawner()
-
-
Method Details
-
getInstance
-
clear
public void clear() -
addElement
public VehicleStorySpawner.Element addElement(String id, float x, float y, float direction, float width, float height) -
setParameter
-
setParameter
-
setParameter
-
setParameter
-
getParameterBoolean
-
getParameterFloat
-
getParameterInteger
-
getParameterString
-
getParameter
-
spawn
public void spawn(float worldX, float worldY, float worldZ, float angleRadians, VehicleStorySpawner.IElementSpawner spawner) -
rotate
-
getAABB
public void getAABB(float centerX, float centerY, float width, float height, float angleRadians, int[] aabb) -
render
public void render(float centerX, float centerY, float z, float width, float height, float angleRadians)
-