Package mindustry.editor
Class EditorTile
java.lang.Object
mindustry.world.Tile
mindustry.editor.EditorTile
- All Implemented Interfaces:
Position
,QuadTree.QuadTreeObject
,Displayable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
changeBuild
(Team team, Prov<mindustry.gen.Building> entityprov, int rotation) protected void
changed()
protected void
protected void
boolean
void
recache()
void
void
This resets the overlay!void
setOverlay
(Block overlay) void
Do not call unless you know what you are doing! This does not update the indexer!Methods inherited from class mindustry.world.Tile
absoluteRelativeTo, adjacentTo, array, block, blockID, breakable, buildDestroyed, buildHealthUpdate, cblock, centerX, centerY, circle, circle, clearOverlay, dangerous, display, drawx, drawy, drop, floor, floorID, getBounds, getFlammability, getHitbox, getLinkedTiles, getLinkedTiles, getLinkedTilesAs, getLinkedTilesAs, getTeamID, getX, getY, hitbox, interactable, isCenter, isDarkened, legSolid, nearby, nearby, nearby, nearbyBuild, overlay, overlayID, passable, pos, preChanged, recacheWall, relativeTo, relativeTo, relativeTo, relativeTo, remove, removeNet, removeTile, setAir, setBlock, setBlock, setBlock, setFloor, setFloorNet, setFloorNet, setFloorUnder, setNet, setNet, setOverlay, setOverlayID, setOverlayNet, setOverlayQuiet, setTeam, setTile, solid, staticDarkness, synthetic, team, toString, wallDrop, worldx, worldy
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface mindustry.ui.Displayable
displayable
-
Constructor Details
-
EditorTile
public EditorTile(int x, int y, int floor, int overlay, int wall)
-
-
Method Details
-
setFloor
Description copied from class:Tile
This resets the overlay! -
isEditorTile
public boolean isEditorTile()- Overrides:
isEditorTile
in classTile
-
setBlock
-
setTeam
Description copied from class:Tile
Do not call unless you know what you are doing! This does not update the indexer! -
setOverlay
- Overrides:
setOverlay
in classTile
-
fireChanged
protected void fireChanged()- Overrides:
fireChanged
in classTile
-
firePreChanged
protected void firePreChanged()- Overrides:
firePreChanged
in classTile
-
recache
public void recache() -
changed
protected void changed() -
changeBuild
- Overrides:
changeBuild
in classTile
-