module Rattletrap.Decode.EnumAttribute
  ( decodeEnumAttributeBits
  )
where

import Rattletrap.Decode.Common
import Rattletrap.Type.EnumAttribute

decodeEnumAttributeBits :: DecodeBits EnumAttribute
decodeEnumAttributeBits :: DecodeBits EnumAttribute
decodeEnumAttributeBits = Word16 -> EnumAttribute
EnumAttribute (Word16 -> EnumAttribute)
-> BitGet Word16 -> DecodeBits EnumAttribute
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> Int -> BitGet Word16
forall a. Bits a => Int -> BitGet a
getBitsLE Int
11