swarm-0.5.0.0: 2D resource gathering game with programmable robots
LicenseBSD-3-Clause
Safe HaskellSafe-Inferred
LanguageHaskell2010

Swarm.Game.Achievement.Attainment

Description

Metadata about achievements that the player has obtained.

Synopsis

Documentation

data Attainment Source #

A record holding an achievement along with some metadata to record the time at which the achievement was obtained, and the scenario in which it was achieved.

Constructors

Attainment 

Fields

Instances

Instances details
FromJSON Attainment Source # 
Instance details

Defined in Swarm.Game.Achievement.Attainment

ToJSON Attainment Source # 
Instance details

Defined in Swarm.Game.Achievement.Attainment

Semigroup Attainment Source # 
Instance details

Defined in Swarm.Game.Achievement.Attainment

Generic Attainment Source # 
Instance details

Defined in Swarm.Game.Achievement.Attainment

Associated Types

type Rep Attainment :: Type -> Type #

Eq Attainment Source # 
Instance details

Defined in Swarm.Game.Achievement.Attainment

Ord Attainment Source # 
Instance details

Defined in Swarm.Game.Achievement.Attainment

type Rep Attainment Source # 
Instance details

Defined in Swarm.Game.Achievement.Attainment

type Rep Attainment = D1 ('MetaData "Attainment" "Swarm.Game.Achievement.Attainment" "swarm-0.5.0.0-6qXEbhCmuXA4wRndqqhBu" 'False) (C1 ('MetaCons "Attainment" 'PrefixI 'True) (S1 ('MetaSel ('Just "_achievement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CategorizedAchievement) :*: (S1 ('MetaSel ('Just "_maybeScenarioPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FilePath)) :*: S1 ('MetaSel ('Just "_obtainedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ZonedTime))))