Hoogle Search
Within LTS Haskell 24.42 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
module Game.LambdaHack.Common.
Perception Actors perceiving other actors and the dungeon level. Visibility works according to KISS. Everything that player sees is real. There are no unmarked hidden tiles and only solid tiles can be marked, so there are no invisible walls and to pass through an illusory wall, you have to use a turn bumping into it first. Only tiles marked with Suspect can turn out to be another tile. (So, if all tiles are marked with Suspect, the player knows nothing for sure, but this should be avoided, because searching becomes too time-consuming.) Each actor sees adjacent tiles, even when blind, so adjacent tiles are known, so the actor can decide accurately whether to pass thorugh or alter, etc. Items are always real and visible. Actors are real, but can be invisible. Invisible actors in walls can't be hit, but are hinted at when altering the tile, so the player can flee or block. Invisible actors in open space can be hit.
type
PerFid = EnumMap FactionId PerLidLambdaHack Game.LambdaHack.Common.Perception Perception indexed by faction identifier. This can't be added to FactionDict, because clients can't see it for other factions.
type
PerLid = EnumMap LevelId PerceptionLambdaHack Game.LambdaHack.Common.Perception Perception of a single faction, indexed by level identifier.
-
LambdaHack Game.LambdaHack.Common.Perception Smelled positions.
PerSmelled :: EnumSet Point -> PerSmelledLambdaHack Game.LambdaHack.Common.Perception No documentation available.
-
LambdaHack Game.LambdaHack.Common.Perception Visible positions.
PerVisible :: EnumSet Point -> PerVisibleLambdaHack Game.LambdaHack.Common.Perception No documentation available.
-
LambdaHack Game.LambdaHack.Common.Perception The type representing the perception of a faction on a level.
Perception :: PerVisible -> PerSmelled -> PerceptionLambdaHack Game.LambdaHack.Common.Perception No documentation available.
module Game.LambdaHack.Common.
Point Basic operations on 2D points represented as linear offsets.