Move toward external function for shell update

This commit is contained in:
2022-07-20 10:42:26 +01:00
parent 330a81a955
commit 6eb09a991e
3 changed files with 170 additions and 1 deletions
+7 -1
View File
@@ -4,5 +4,11 @@ module Dodge.Data.Ammo where
data ProjectileDraw = DrawShell | DrawRemoteShell | DrawDrone | DrawBlankProjectile
data ProjectileCreate = CreateShell
data ProjectileUpdate = LaunchPJ | SpinPJ | ThrustPJ | FloatPJ
data ProjectileUpdate
= PJThrust {_pjuStart :: Int, _pjuEnd :: Int}
| PJSpin {_pjuTime :: Int, _pjuCID :: Int, _pjuSpinAmound :: Int}
| PJTrack {_pjuStart :: Int, _pjuEnd :: Int, _pjuITID :: Int}
| PJReduceSpin {_pjuReduceSpin :: Float}
| PJRemoteDirection {_pjuStart :: Int, _pjuEnd :: Int}
| PJPayload {_pjuTime :: Int}