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 Details

    • parent

      protected ParticleRectangle parent
    • bounds

      protected org.lwjgl.util.Rectangle bounds
    • texture

      protected Texture texture
    • color

      protected Color color
    • position

      protected Vector2 position
    • velocity

      protected Vector2 velocity
    • alpha

      protected float alpha
    • speed

      protected float speed
    • alphaFadeMod

      protected SteppedUpdateFloat 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

      public WeatherParticle​(Texture texture)
    • WeatherParticle

      public WeatherParticle​(Texture texture, int int1, int int2)
  • Method Details

    • setParent

      protected void setParent​(ParticleRectangle particleRectangle)
    • 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)