Class Tile
java.lang.Object
me.arcademadness.omni_dungeon.environment.world.Tile
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPart(EntityPart part) Add a part to this tilevoidRemove all partsGet a copy of the parts currently in this tilebooleanCheck if this tile has an entity part in itbooleanCheck for if this tile is walkablevoidremovePartsOwnedBy(Entity entity) Remove a part owned by a specific entity
-
Field Details
-
walkable
public boolean walkable -
parts
-
-
Constructor Details
-
Tile
public Tile(boolean walkable)
-
-
Method Details
-
addPart
Add a part to this tile -
removePartsOwnedBy
Remove a part owned by a specific entity -
clearParts
public void clearParts()Remove all parts -
getPartsSnapshot
Get a copy of the parts currently in this tile -
isWalkable
public boolean isWalkable()Check for if this tile is walkable -
hasEntity
public boolean hasEntity()Check if this tile has an entity part in it
-