Class WeatherParticle

java.lang.Object
zombie.iso.weather.fx.WeatherParticle
Direct Known Subclasses:
CloudParticle, FogParticle, RainParticle, SnowParticle

public abstract class WeatherParticle extends Object
TurboTuTone.
  • 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 w, int h)
  • Method Details

    • setParent

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