Class ParticleWeather

All Implemented Interfaces:
Comparable<Content>

public class ParticleWeather extends Weather
  • Field Details

    • particleRegion

      public String particleRegion
    • color

      public Color color
    • region

      public TextureRegion region
    • yspeed

      public float yspeed
    • xspeed

      public float xspeed
    • padding

      public float padding
    • sizeMin

      public float sizeMin
    • sizeMax

      public float sizeMax
    • density

      public float density
    • minAlpha

      public float minAlpha
    • maxAlpha

      public float maxAlpha
    • force

      public float force
    • noiseScale

      public float noiseScale
    • baseSpeed

      public float baseSpeed
    • sinSclMin

      public float sinSclMin
    • sinSclMax

      public float sinSclMax
    • sinMagMin

      public float sinMagMin
    • sinMagMax

      public float sinMagMax
    • noiseColor

      public Color noiseColor
    • drawNoise

      public boolean drawNoise
    • drawParticles

      public boolean drawParticles
    • useWindVector

      public boolean useWindVector
    • randomParticleRotation

      public boolean randomParticleRotation
    • noiseLayers

      public int noiseLayers
    • noiseLayerSpeedM

      public float noiseLayerSpeedM
    • noiseLayerAlphaM

      public float noiseLayerAlphaM
    • noiseLayerSclM

      public float noiseLayerSclM
    • noiseLayerColorM

      public float noiseLayerColorM
    • noisePath

      public String noisePath
    • noise

      @Nullable public Texture noise
  • Constructor Details

    • ParticleWeather

      public ParticleWeather(String name)
  • Method Details

    • load

      public void load()
      Description copied from class: Content
      Called after all content is created, only on non-headless versions. Use for loading regions or other image data.
      Overrides:
      load in class Content
    • update

      public void update(mindustry.gen.WeatherState state)
      Overrides:
      update in class Weather
    • drawOver

      public void drawOver(mindustry.gen.WeatherState state)
      Overrides:
      drawOver in class Weather