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 centerX, float centerY, float width, float height, float angleRadians, int[] aabb) static VehicleStorySpawner<E> EgetParameter(String key, 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
-
elements
-
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)
-