Make projectile use 3d position/velocity records

This commit is contained in:
2025-08-04 12:15:42 +01:00
parent 80d6133fd6
commit 7714e2e298
7 changed files with 80 additions and 84 deletions
+2 -4
View File
@@ -15,15 +15,13 @@ import NewInt
import Dodge.Data.Payload
data Projectile = Shell
{ _pjPos :: Point2
, _pjZ :: Float
, _pjVel :: Point2
{ _pjPos :: Point3
, _pjVel :: Point3
, _pjDir :: Float
, _pjSpin :: Float
, _pjID :: Int
, _pjPayload :: Payload
, _pjTimer :: Int
, _pjZVel :: Float
, _pjBarrelSpin :: Maybe (Int, Float)
, _pjType :: ProjectileType
, _pjDetonatorID :: Maybe (NewInt ItmInt)