packages feed

rattletrap-4.0.0: library/Rattletrap/Type/GameModeAttribute.hs

{-# LANGUAGE TemplateHaskell #-}

module Rattletrap.Type.GameModeAttribute
  ( GameModeAttribute(..)
  ) where

import Rattletrap.Type.Common

data GameModeAttribute = GameModeAttribute
  { gameModeAttributeNumBits :: Int
  , gameModeAttributeWord :: Word8
  } deriving (Eq, Ord, Show)

$(deriveJson ''GameModeAttribute)