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
FieldsModifier and TypeFieldDescriptionfloat
arc.graphics.Color
float
boolean
boolean
float
float
float
arc.graphics.Texture
arc.graphics.Color
float
float
int
float
float
float
float
boolean
arc.graphics.g2d.TextureRegion
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
allDatabaseTabs, alwaysUnlocked, databaseTabs, description, details, fullIcon, fullOverride, generateIcons, hideDatabase, hideDetails, inlineDescription, localizedName, selectionSize, shownPlanets, stats, techNode, techNodes, uiIcon, unlocked
Fields inherited from class mindustry.ctype.MappableContent
name
-
Constructor Summary
Constructors -
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, emojiChar, getDependencies, getLogicId, hasEmoji, isOnPlanet, loadIcon, locked, logicVisible, makeOutline, makeOutline, makeOutline, onUnlock, postInit, quietUnlock, researchRequirements, setStats, showUnlock, unlock, unlocked, unlockedHost, unlockedNow, unlockedNowHost
Methods inherited from class mindustry.ctype.MappableContent
toString
-
Field Details
-
particleRegion
-
color
public arc.graphics.Color color -
region
public arc.graphics.g2d.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 arc.graphics.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
-
noise
@Nullable public arc.graphics.Texture 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)
-