bouncing-crusher
Safe HaskellNone
LanguageHaskell2010

Types

Synopsis

Documentation

type Position = (Float, Float) #

Position type.

type Velocity = (Float, Float) #

Velocity type.

type Restitution = Float #

Restitution type.

type Speed = Float #

Speed type.

type Coords = (Float, Float) #

Coords type.

data PlayerBall #

Player ball info.

Constructors

PlayerBall 

Fields

Instances

Instances details
Read PlayerBall #

default Read instance.

Instance details

Defined in Types

Show PlayerBall #

default Show instance.

Instance details

Defined in Types

data EnemyBallType #

Enemy ball type.

Constructors

Destructible Int

Destructible ball type with durability Int value.

Indestructible

Indestructible ball type.

Instances

Instances details
Eq EnemyBallType #

default Eq instance.

Instance details

Defined in Types

Read EnemyBallType #

default Read instance.

Instance details

Defined in Types

Show EnemyBallType #

default Show instance.

Instance details

Defined in Types

Generic EnemyBallType #

default Generic instance.

Instance details

Defined in Types

Associated Types

type Rep EnemyBallType :: Type -> Type #

Binary EnemyBallType #

Binary instance of EnemyBallType.

Instance details

Defined in Types

type Rep EnemyBallType # 
Instance details

Defined in Types

type Rep EnemyBallType = D1 ('MetaData "EnemyBallType" "Types" "main" 'False) (C1 ('MetaCons "Destructible" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :+: C1 ('MetaCons "Indestructible" 'PrefixI 'False) (U1 :: Type -> Type))

data EnemyPeg #

Instances

Instances details
Eq EnemyPeg #

default Eq instance.

Instance details

Defined in Types

Read EnemyPeg #

default Read instance.

Instance details

Defined in Types

Show EnemyPeg #

default Show instance.

Instance details

Defined in Types

Generic EnemyPeg #

default Generic instance.

Instance details

Defined in Types

Associated Types

type Rep EnemyPeg :: Type -> Type #

Methods

from :: EnemyPeg -> Rep EnemyPeg x #

to :: Rep EnemyPeg x -> EnemyPeg #

Binary EnemyPeg #

Binary instance of EnemyPeg.

Instance details

Defined in Types

Methods

put :: EnemyPeg -> Put #

get :: Get EnemyPeg #

putList :: [EnemyPeg] -> Put #

type Rep EnemyPeg # 
Instance details

Defined in Types

data MapInfo #

Constructors

MapInfo 

Fields

Instances

Instances details
Read MapInfo #

default Read instance.

Instance details

Defined in Types

Show MapInfo #

default Show instance.

Instance details

Defined in Types

Generic MapInfo #

default Generic instance.

Instance details

Defined in Types

Associated Types

type Rep MapInfo :: Type -> Type #

Methods

from :: MapInfo -> Rep MapInfo x #

to :: Rep MapInfo x -> MapInfo #

Binary MapInfo #

Binary instance of MapInfo.

Instance details

Defined in Types

Methods

put :: MapInfo -> Put #

get :: Get MapInfo #

putList :: [MapInfo] -> Put #

type Rep MapInfo # 
Instance details

Defined in Types

data Sprites #

Constructors

Sprites 

Fields

Instances

Instances details
Show Sprites #

default Show instance.

Instance details

Defined in Types

data MetaInfo #

Game meta info.

Constructors

MetaInfo 

Fields

Instances

Instances details
Show MetaInfo # 
Instance details

Defined in Types

type SoundList = [(String, Chunk)] #