Package mindustry.world
Class CachedTile
java.lang.Object
mindustry.world.Tile
mindustry.world.CachedTile
- All Implemented Interfaces:
Position
,QuadTree.QuadTreeObject
,Displayable
A tile which does not trigger change events and whose entity types are cached.
Prevents garbage when loading previews.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
changeBuild
(Team team, Prov<mindustry.gen.Building> entityprov, int rotation) protected void
Methods inherited from class mindustry.world.Tile
absoluteRelativeTo, adjacentTo, array, block, blockID, breakable, buildDestroyed, buildHealthUpdate, cblock, centerX, centerY, changed, circle, circle, clearOverlay, dangerous, display, drawx, drawy, drop, fireChanged, firePreChanged, floor, floorID, getBounds, getFlammability, getHitbox, getLinkedTiles, getLinkedTiles, getLinkedTilesAs, getLinkedTilesAs, getTeamID, getX, getY, hitbox, interactable, isCenter, isDarkened, isEditorTile, legSolid, nearby, nearby, nearby, nearbyBuild, overlay, overlayID, passable, pos, recache, recacheWall, relativeTo, relativeTo, relativeTo, relativeTo, remove, removeNet, removeTile, setAir, setBlock, setBlock, setBlock, setBlock, setFloor, setFloor, setFloorNet, setFloorNet, setFloorUnder, setNet, setNet, setOverlay, setOverlay, setOverlayID, setOverlayNet, setOverlayQuiet, setTeam, 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
-
CachedTile
public CachedTile()
-
-
Method Details
-
preChanged
protected void preChanged()- Overrides:
preChanged
in classTile
-
changeBuild
- Overrides:
changeBuild
in classTile
-