Class Fires

java.lang.Object
mindustry.entities.Fires

public class Fires extends Object
  • Constructor Details

    • Fires

      public Fires()
  • Method Details

    • create

      public static void create(Tile tile)
      Start a fire on the tile. If there already is a fire there, refreshes its lifetime.
    • get

      public static mindustry.gen.Fire get(int x, int y)
    • has

      public static boolean has(int x, int y)
    • extinguish

      public static void extinguish(Tile tile, float intensity)
      Attempts to extinguish a fire by shortening its life. If there is no fire here, does nothing.
    • remove

      public static void remove(Tile tile)
    • register

      public static void register(mindustry.gen.Fire fire)