Add damage origins

This commit is contained in:
2026-04-24 20:34:20 +01:00
parent 011286ccb5
commit e0e346aade
43 changed files with 535 additions and 449 deletions
+3 -3
View File
@@ -1,10 +1,9 @@
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TemplateHaskell #-}
module Dodge.Data.PlasmaBall (
module Dodge.Data.PlasmaBall
) where
module Dodge.Data.PlasmaBall (module Dodge.Data.PlasmaBall) where
import Dodge.Data.Damage
import Control.Lens
import Data.Aeson
import Data.Aeson.TH
@@ -14,6 +13,7 @@ data PlasmaBall = PBall
{ _pbType :: PlasmaBallType
, _pbVel :: Point2
, _pbPos :: Point2
, _pbOrigin :: DamageOrigin
}
deriving (Show, Eq, Ord, Read) --Generic, Flat)