Package mindustry.entities
Class Fires
java.lang.Object
mindustry.entities.Fires
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Start a fire on the tile.static void
extinguish
(Tile tile, float intensity) Attempts to extinguish a fire by shortening its life.static mindustry.gen.Fire
get
(int x, int y) static boolean
has
(int x, int y) static void
register
(mindustry.gen.Fire fire) static void
-
Constructor Details
-
Fires
public Fires()
-
-
Method Details
-
create
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
Attempts to extinguish a fire by shortening its life. If there is no fire here, does nothing. -
remove
-
register
public static void register(mindustry.gen.Fire fire)
-