public interface ITile extends IPosition, IAppearance
ILevel.monsters()
,
ILevel.monsterAt(IPosition)
Modifier and Type | Method and Description |
---|---|
Alignment |
altarAlignment()
For altars - returns the altar's alignment.
|
Boolean |
dug()
True if the player dug the tile or it is assumed it has been dug.
|
String |
engraving()
Returns the text engraved on this tile.
|
EngravingType |
engravingType()
If there is an engraving returns the longevity type.
|
Feature |
feature()
The dungeon feature present on this tile or null.
|
Long |
firstWalkedTurn()
First game turn the tile has been stepped on.
|
Boolean |
hasBoulder()
True if there appears to be a boulder on the tile.
|
Boolean |
hasElbereth()
True if there is an undamaged Elbereth engraving on the tile.
|
Boolean |
hasNewItems()
True if items on the tile seem to have changed since it was last examined.
|
Boolean |
isBlocked()
True for tiles where navigation failed many times due to a stubborn
peaceful monster.
|
Boolean |
isEngravable()
True if it is possible to engrave on this tile by some means.
|
Boolean |
isTrap()
True if the tile has a trap.
|
Boolean |
isVibrating()
True for the vibrating square.
|
List<IItem> |
items()
Items laying on the ground on the tile
|
Long |
lastWalkedTurn()
Last game turn the tile has been stepped on.
|
Branch |
leadsTo()
For visited stairs or portals - returns the target branch.
|
RoomType |
room()
If the tile is in a recognized room returns the room type.
|
Long |
searched()
Number of times the tile has been searched (est.)
|
Boolean |
sinkGaveFoocubus()
For tiles with the SINK feature - true if kicking it already yielded a succubus or an incubus.
|
Boolean |
sinkGavePudding()
For tiles with the SINK feature - true if kicking it already yielded a pudding.
|
Boolean |
sinkGaveRing()
For tiles with the SINK feature - true if kicking it already yielded a ring.
|
Boolean |
wasSeen()
True if the player was adjacent to the tile when not blind.
|
color, glyph
Boolean hasElbereth()
engravingType()
Boolean isEngravable()
IGame.canEngrave()
Feature feature()
Boolean isTrap()
feature()
Boolean hasBoulder()
Boolean wasSeen()
Long firstWalkedTurn()
Long lastWalkedTurn()
Boolean dug()
Long searched()
List<IItem> items()
Boolean hasNewItems()
String engraving()
EngravingType engravingType()
RoomType room()
Boolean sinkGaveRing()
Boolean sinkGaveFoocubus()
Boolean sinkGavePudding()
Branch leadsTo()
Alignment altarAlignment()
Boolean isVibrating()
Boolean isBlocked()