helm-1.0.0: A functionally reactive game engine.

Safe HaskellSafe
LanguageHaskell2010

Helm.Asset

Contents

Description

Contains the file asset types.

Synopsis

Type Families

data family Image e Source

Represents an image asset loaded by an engine instance.

This is a type family, where the instance types are the specific internal representations of an image for an engine. Hence the e type variable here should refer to an Engine instance, but that is not strictly required.

Having the image type be a family allows us to separate the internal representation of the image assets for each engine from the core Helm library.

Instances

data Image SDLEngine = SDLImage {} Source

Represents an Image for the SDL engine.