Class WeatherParticle
java.lang.Object
zombie.iso.weather.fx.WeatherParticle
-
Field Summary
FieldsModifier 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
ConstructorsConstructorDescriptionWeatherParticle
(Texture _texture) WeatherParticle
(Texture _texture, int w, int h) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isOnScreen
(float offsetx, float offsety) void
render
(float offsetx, float offsety) protected void
setParent
(ParticleRectangle particleRectangle) void
update
(float delta) void
update
(float delta, boolean doBounds) 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 delta) -
update
public void update(float delta, boolean doBounds) -
updateZoomSize
protected boolean updateZoomSize() -
isOnScreen
public boolean isOnScreen(float offsetx, float offsety) -
render
public void render(float offsetx, float offsety)
-