Package zombie.iso.weather.fx
Class WeatherParticle
java.lang.Object
zombie.iso.weather.fx.WeatherParticle
- Direct Known Subclasses:
CloudParticle
,FogParticle
,RainParticle
,SnowParticle
-
Field Summary
Modifier and TypeFieldDescriptionprotected float
protected SteppedUpdateFloat
protected org.lwjgl.util.Rectangle
protected Color
protected float
protected float
protected float
protected ParticleRectangle
protected Vector2
protected boolean
protected float
protected float
protected Texture
protected Vector2
protected float
protected float
-
Constructor Summary
ConstructorDescriptionWeatherParticle
(Texture texture) WeatherParticle
(Texture texture, int int1, int int2) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isOnScreen
(float float1, float float2) void
render
(float float1, float float2) protected void
setParent
(ParticleRectangle particleRectangle) void
update
(float float1) void
update
(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)
-