Get rid of warnings

This commit is contained in:
2025-06-07 19:14:56 +01:00
parent 81a7dcd962
commit faa3c4cde4
12 changed files with 85 additions and 96 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ data BulletEffect
data BulletPayload
= BulBall {_spawnEBT :: EnergyBallType}
| BulPlain {_sparkDam :: Int}
| BulPlain {_buDam :: Int}
| BulFlak
| BulFrag
| BulGas
+2 -5
View File
@@ -8,7 +8,6 @@ module Dodge.Data.EnergyBall (
module Dodge.Data.EnergyBall.Type,
) where
import Color
import Control.Lens
import Data.Aeson
import Data.Aeson.TH
@@ -17,10 +16,8 @@ import Geometry.Data
data EnergyBall = EnergyBall
{ _ebVel :: Point2
, -- , _ebColor :: Color
_ebPos :: Point2
, -- , _ebWidth :: Float
_ebTimer :: Int
, _ebPos :: Point2
, _ebTimer :: Int
, _ebEff :: EnergyBallType
, _ebRot :: Float
}
-2
View File
@@ -5,10 +5,8 @@
module Dodge.Data.EnergyBall.Type where
import Control.Lens
import Data.Aeson
import Data.Aeson.TH
import Geometry.Data
data EnergyBallType
= FlamingBall