Package mindustry.type.weather
Class ParticleWeather
java.lang.Object
mindustry.ctype.Content
mindustry.ctype.MappableContent
mindustry.ctype.UnlockableContent
mindustry.type.Weather
mindustry.type.weather.ParticleWeather
- All Implemented Interfaces:
Comparable<Content>
-
Nested Class Summary
Nested classes/interfaces inherited from class mindustry.type.Weather
Weather.WeatherEntry
Nested classes/interfaces inherited from class mindustry.ctype.Content
Content.ModContentInfo
-
Field Summary
Modifier and TypeFieldDescriptionfloat
float
boolean
boolean
float
float
float
float
float
int
float
float
float
float
boolean
float
float
float
float
float
float
boolean
float
float
Fields inherited from class mindustry.type.Weather
attrs, duration, hidden, opacityMultiplier, rand, sound, soundVol, soundVolMin, soundVolOscMag, soundVolOscScl, status, statusAir, statusDuration, statusGround, type
Fields inherited from class mindustry.ctype.UnlockableContent
alwaysUnlocked, description, details, fullIcon, generateIcons, hideDetails, iconId, inlineDescription, localizedName, selectionSize, stats, techNode, techNodes, uiIcon, unlocked
Fields inherited from class mindustry.ctype.MappableContent
name
-
Constructor Summary
-
Method Summary
Methods inherited from class mindustry.type.Weather
create, create, create, createWeather, drawNoise, drawNoiseLayers, drawParticles, drawRain, drawSplashes, drawUnder, getContentType, instance, isActive, isHidden, remove, updateEffect
Methods inherited from class mindustry.ctype.UnlockableContent
checkStats, clearUnlock, createIcons, displayDescription, displayExtra, emoji, getDependencies, getLogicId, hasEmoji, loadIcon, locked, logicVisible, makeOutline, makeOutline, makeOutline, onUnlock, quietUnlock, researchRequirements, setStats, showUnlock, unlock, unlocked, unlockedNow, unlockedNowHost
Methods inherited from class mindustry.ctype.MappableContent
toString
-
Field Details
-
particleRegion
-
color
-
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
-
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
-
noise
-
-
Constructor Details
-
ParticleWeather
-
-
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. -
update
public void update(mindustry.gen.WeatherState state) -
drawOver
public void drawOver(mindustry.gen.WeatherState state)
-