public interface ILevel
Modifier and Type | Method and Description |
---|---|
ITile |
at(IPosition pos)
Returns the tile at given position on the level.
|
Branch |
branch()
Returns the branch this level belongs to.
|
String |
dlvl()
Returns the Dlvl string for the level.
|
Boolean |
hasAltar()
True if the level contains an altar.
|
Boolean |
hasDiggableFloor()
True if the level floor can be dug through (until proven otherwise).
|
Boolean |
hasShop()
True if the level contains a shop.
|
Boolean |
hasTemple()
True if the level contains a temple.
|
IMonster |
monsterAt(IPosition pos)
Returns the monster representation at the given position.
|
Map<IPosition,IMonster> |
monsters()
Returns the map of all monsters known or remembered to be on the level.
|
List<ITile> |
neighbors(IPosition pos)
Returns the list of tiles on the level adjacent to position pos.
|
String dlvl()
Branch branch()
Map<IPosition,IMonster> monsters()
IMonster monsterAt(IPosition pos)
List<ITile> neighbors(IPosition pos)
Boolean hasTemple()
Boolean hasAltar()
Boolean hasShop()
Boolean hasDiggableFloor()