Class VehicleStorySpawner
java.lang.Object
zombie.randomizedWorld.randomizedVehicleStory.VehicleStorySpawner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic 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) voidclear()voidgetAABB(float float4, float float6, float float2, float float1, float float0, int[] ints) static VehicleStorySpawner<E> EgetParameter(String string, Class<E> clazz) booleanfloatgetParameterFloat(String key) intgetParameterString(String key) voidrender(float centerX, float centerY, float z, float width, float height, float angleRadians) voidsetParameter(String key, boolean value) voidsetParameter(String key, float value) voidsetParameter(String key, int value) voidsetParameter(String key, Object value) voidspawn(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[] ints) -
render
public void render(float centerX, float centerY, float z, float width, float height, float angleRadians)
-