LambdaHack-0.10.2.0: A game engine library for tactical squad ASCII roguelike dungeon crawlers
Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.UI.PointUI

Description

UI screen coordinates.

Synopsis

Documentation

data PointUI Source #

UI screen coordinates, independent of whether square or monospace fonts are being placed on the screen (though square fonts are never placed on odd coordinates). These are not game map coordinates, becuse UI is larger and more fine-grained than just the game map.

Constructors

PointUI Int Int 

Instances

Instances details
Eq PointUI Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.PointUI

Methods

(==) :: PointUI -> PointUI -> Bool #

(/=) :: PointUI -> PointUI -> Bool #

Show PointUI Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.PointUI

data PointSquare Source #

Coordinates of the big square fonts. These are not game map coordinates, because the latter are offset by mapStartY and represented by Point.

Constructors

PointSquare Int Int 

Instances

Instances details
Eq PointSquare Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.PointUI

Show PointSquare Source # 
Instance details

Defined in Game.LambdaHack.Client.UI.PointUI

Internal operations

mapStartY :: Int Source #

The row where the dungeon map starts, both in PointUI and PointSquare coordinates.