java.lang.Object
me.arcademadness.omni_dungeon.environment.world.Tile

public class Tile extends Object
  • Field Details

    • walkable

      public boolean walkable
    • parts

      public Set<EntityPart> parts
  • Constructor Details

    • Tile

      public Tile(boolean walkable)
  • Method Details

    • addPart

      public void addPart(EntityPart part)
      Add a part to this tile
    • removePartsOwnedBy

      public void removePartsOwnedBy(Entity entity)
      Remove a part owned by a specific entity
    • clearParts

      public void clearParts()
      Remove all parts
    • getPartsSnapshot

      public Set<EntityPart> 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