Package mindustry.type
Class CellLiquid
java.lang.Object
mindustry.ctype.Content
mindustry.ctype.MappableContent
mindustry.ctype.UnlockableContent
mindustry.type.Liquid
mindustry.type.CellLiquid
- All Implemented Interfaces:
Comparable<Content>,Senseable
Liquid that draws cells in its puddle.
-
Nested Class Summary
Nested classes/interfaces inherited from class mindustry.ctype.Content
Content.ModContentInfo -
Field Summary
FieldsModifier and TypeFieldDescriptionintarc.graphics.Colorarc.graphics.ColorfloatfloatfloatfloatFields inherited from class mindustry.type.Liquid
animationFrames, animationScaleGas, animationScaleLiquid, barColor, blockReactive, boilPoint, canStayOn, capPuddles, color, coolant, effect, explosiveness, flammability, gas, gasColor, heatCapacity, hidden, incinerable, lightColor, moveThroughBlocks, particleEffect, particleSpacing, rand, temperature, vaporEffect, viscosityFields inherited from class mindustry.ctype.UnlockableContent
allDatabaseTabs, alwaysUnlocked, databaseTabs, description, details, fullIcon, fullOverride, generateIcons, hideDatabase, hideDetails, inlineDescription, localizedName, selectionSize, shownPlanets, stats, techNode, techNodes, uiIcon, unlockedFields inherited from class mindustry.ctype.MappableContent
name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawPuddle(mindustry.gen.Puddle puddle) Draws a puddle of this liquid on the floor.floatvoidupdate(mindustry.gen.Puddle puddle) Runs when puddles update.Methods inherited from class mindustry.type.Liquid
barColor, canExtinguish, getAnimationFrame, getContentType, init, isHidden, sense, senseObject, setStats, toString, willBoilMethods inherited from class mindustry.ctype.UnlockableContent
afterPatch, checkStats, clearUnlock, createIcons, displayDescription, displayExtra, emoji, emojiChar, getDependencies, getLogicId, hasEmoji, isBanned, isOnPlanet, loadIcon, locked, logicVisible, makeOutline, makeOutline, makeOutline, onUnlock, postInit, quietUnlock, researchRequirements, showUnlock, unlock, unlocked, unlockedHost, unlockedNow, unlockedNowHostMethods inherited from class mindustry.ctype.Content
compareTo, hasErrored, isModded, isVanilla, load
-
Field Details
-
colorFrom
public arc.graphics.Color colorFrom -
colorTo
public arc.graphics.Color colorTo -
cells
public int cells -
spreadTarget
-
maxSpread
public float maxSpread -
spreadConversion
public float spreadConversion -
spreadDamage
public float spreadDamage -
removeScaling
public float removeScaling
-
-
Constructor Details
-
CellLiquid
-
CellLiquid
-
-
Method Details
-
update
public void update(mindustry.gen.Puddle puddle) Description copied from class:LiquidRuns when puddles update. -
react
-
drawPuddle
public void drawPuddle(mindustry.gen.Puddle puddle) Description copied from class:LiquidDraws a puddle of this liquid on the floor.- Overrides:
drawPuddlein classLiquid
-