Package zombie.iso.weather.fx
Class WeatherParticle
java.lang.Object
zombie.iso.weather.fx.WeatherParticle
- Direct Known Subclasses:
CloudParticle,FogParticle,RainParticle,SnowParticle
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected floatprotected SteppedUpdateFloatprotected org.lwjgl.util.Rectangleprotected Colorprotected floatprotected floatprotected floatprotected ParticleRectangleprotected Vector2protected booleanprotected floatprotected floatprotected Textureprotected Vector2protected floatprotected float -
Constructor Summary
ConstructorsConstructorDescriptionWeatherParticle(Texture texture) WeatherParticle(Texture texture, int int1, int int2) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisOnScreen(float float1, float float2) voidrender(float float1, float float2) protected voidsetParent(ParticleRectangle particleRectangle) voidupdate(float float1) voidupdate(float float1, boolean boolean1) protected boolean
-
Field Details
-
parent
-
bounds
protected org.lwjgl.util.Rectangle bounds -
texture
-
color
-
position
-
velocity
-
alpha
protected float alpha -
speed
protected float speed -
alphaFadeMod
-
renderAlpha
protected float renderAlpha -
oWidth
protected float oWidth -
oHeight
protected float oHeight -
zoomMultiW
protected float zoomMultiW -
zoomMultiH
protected float zoomMultiH -
recalcSizeOnZoom
protected boolean recalcSizeOnZoom -
lastZoomMod
protected float lastZoomMod
-
-
Constructor Details
-
WeatherParticle
-
WeatherParticle
-
-
Method Details
-
setParent
-
update
public void update(float float1) -
update
public void update(float float1, boolean boolean1) -
updateZoomSize
protected boolean updateZoomSize() -
isOnScreen
public boolean isOnScreen(float float1, float float2) -
render
public void render(float float1, float float2)
-