Files
loop/src/Dodge/Data/ForegroundShape.hs
T
2025-10-25 13:12:00 +01:00

21 lines
437 B
Haskell

{-# LANGUAGE StrictData #-}
{-# LANGUAGE TemplateHaskell #-}
module Dodge.Data.ForegroundShape where
import Control.Lens
import Data.Aeson
import Data.Aeson.TH
import Geometry
import ShapePicture
data ForegroundShape = ForegroundShape
{ _fsPos :: Point2
, _fsDir :: Float
, _fsSPic :: SPic
}
deriving (Eq, Ord, Show, Read) --Generic, Flat)
makeLenses ''ForegroundShape
deriveJSON defaultOptions ''ForegroundShape