Class VehicleStorySpawner
java.lang.Object
zombie.randomizedWorld.randomizedVehicleStory.VehicleStorySpawner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static interface
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddElement
(String id, float x, float y, float direction, float width, float height) void
clear()
void
getAABB
(float float4, float float6, float float2, float float1, float float0, int[] int0) static VehicleStorySpawner
<E> E
getParameter
(String string, Class<E> _class) 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 float4, float float6, float float2, float float1, float float0, int[] int0) -
render
public void render(float centerX, float centerY, float z, float width, float height, float angleRadians)
-