Make projectile use 3d position/velocity records
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user