Package zombie.iso.weather.fx
Class WeatherParticle
java.lang.Object
zombie.iso.weather.fx.WeatherParticle
- Direct Known Subclasses:
CloudParticle
,FogParticle
,RainParticle
,SnowParticle
public abstract class WeatherParticle
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected float
alpha
protected SteppedUpdateFloat
alphaFadeMod
protected org.lwjgl.util.Rectangle
bounds
protected Color
color
protected float
lastZoomMod
protected float
oHeight
protected float
oWidth
protected ParticleRectangle
parent
protected Vector2
position
protected boolean
recalcSizeOnZoom
protected float
renderAlpha
protected float
speed
protected Texture
texture
protected Vector2
velocity
protected float
zoomMultiH
protected float
zoomMultiW
-
Constructor Summary
Constructors Constructor Description WeatherParticle(Texture texture)
WeatherParticle(Texture texture, int int1, int int2)
-
Method Summary
Modifier and Type Method Description void
render(float float1, float float2)
protected void
setParent(ParticleRectangle particleRectangle)
void
update(float float1)
void
update(float float1, boolean boolean1)
protected boolean
updateZoomSize()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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() -
render
public void render(float float1, float float2)
-