Class Puddles

java.lang.Object
mindustry.entities.Puddles

public class Puddles extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final float
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    deposit(Tile tile, Liquid liquid, float amount)
    Deposits a Puddle at a tile.
    static void
    deposit(Tile tile, Tile source, Liquid liquid, float amount)
    Deposits a Puddle between tile and source.
    static void
    deposit(Tile tile, Tile source, Liquid liquid, float amount, boolean initial)
     
    static void
    deposit(Tile tile, Tile source, Liquid liquid, float amount, boolean initial, boolean cap)
     
    static mindustry.gen.Puddle
    get(Tile tile)
    Returns the Puddle on the specified tile.
    static void
    register(mindustry.gen.Puddle puddle)
     
    static void
    remove(Tile tile)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Puddles

      public Puddles()
  • Method Details

    • deposit

      public static void deposit(Tile tile, Tile source, Liquid liquid, float amount)
      Deposits a Puddle between tile and source.
    • deposit

      public static void deposit(Tile tile, Liquid liquid, float amount)
      Deposits a Puddle at a tile.
    • get

      public static mindustry.gen.Puddle get(Tile tile)
      Returns the Puddle on the specified tile. May return null.
    • deposit

      public static void deposit(Tile tile, Tile source, Liquid liquid, float amount, boolean initial)
    • deposit

      public static void deposit(Tile tile, Tile source, Liquid liquid, float amount, boolean initial, boolean cap)
    • remove

      public static void remove(Tile tile)
    • register

      public static void register(mindustry.gen.Puddle puddle)