Class EditorTile

java.lang.Object
mindustry.world.Tile
mindustry.editor.EditorTile
All Implemented Interfaces:
Position, QuadTree.QuadTreeObject, Displayable

public class EditorTile extends Tile
  • Constructor Details

    • EditorTile

      public EditorTile(int x, int y, int floor, int overlay, int wall)
  • Method Details

    • setFloor

      public void setFloor(Floor type)
      Description copied from class: Tile
      This resets the overlay!
      Overrides:
      setFloor in class Tile
    • isEditorTile

      public boolean isEditorTile()
      Overrides:
      isEditorTile in class Tile
    • setBlock

      public void setBlock(Block type, Team team, int rotation, Prov<mindustry.gen.Building> entityprov)
      Overrides:
      setBlock in class Tile
    • setTeam

      public void setTeam(Team team)
      Description copied from class: Tile
      Do not call unless you know what you are doing! This does not update the indexer!
      Overrides:
      setTeam in class Tile
    • setOverlay

      public void setOverlay(Block overlay)
      Overrides:
      setOverlay in class Tile
    • fireChanged

      protected void fireChanged()
      Overrides:
      fireChanged in class Tile
    • firePreChanged

      protected void firePreChanged()
      Overrides:
      firePreChanged in class Tile
    • recache

      public void recache()
      Overrides:
      recache in class Tile
    • changed

      protected void changed()
      Overrides:
      changed in class Tile
    • changeBuild

      protected void changeBuild(Team team, Prov<mindustry.gen.Building> entityprov, int rotation)
      Overrides:
      changeBuild in class Tile