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
Modifier and TypeFieldDescriptionint
float
float
float
float
Fields 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, viscosity
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
Modifier and TypeMethodDescriptionvoid
drawPuddle
(mindustry.gen.Puddle puddle) Draws a puddle of this liquid on the floor.float
void
update
(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, willBoil
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, showUnlock, unlock, unlocked, unlockedNow, unlockedNowHost
Methods inherited from class mindustry.ctype.Content
compareTo, hasErrored, isModded, isVanilla, load
-
Field Details
-
colorFrom
-
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:Liquid
Runs when puddles update. -
react
-
drawPuddle
public void drawPuddle(mindustry.gen.Puddle puddle) Description copied from class:Liquid
Draws a puddle of this liquid on the floor.- Overrides:
drawPuddle
in classLiquid
-