app

Safe Haskell None
Language Haskell2010

GameViewInternal

Description

This module contains things used in GameView.hs but which are likely rarely modified, to avoid GameView.hs growing too much. Other modules besides GameView should nod depend on this module. |

Synopsis

Documentation

animToFade :: Animation -> Fade #

What fading a Animation triggers

newtype Border #

Data for drawing a border. The only data is the color, since for now all borders have the same width.

Constructors

Border  

Fields

data Borders #

Borders of all boxes

Constructors

Borders  

Fields

Instances
Semigroup Borders #  
Instance details

Defined in GameViewInternal

Monoid Borders #  
Instance details

Defined in GameViewInternal

manaView :: Game -> Int -> View a #

data StackPosition #

Constructors

Board

Stack/discarded widget in board (enemy), only in hashless Configuration

Hand

Stack/discarded widget in hand (playing player) | Always visible

stackView :: Game -> Int -> Player -> StackPosition -> StackKind -> Styled [View Action] #

The widget showing the number of cards in the stack/discarded stack

data StatChangeKind #

Constructors

HitPoint  
Attack