Continue projectile udpate refactor

This commit is contained in:
2024-12-28 21:58:45 +00:00
parent 2fdc6ae557
commit 30be7b0983
4 changed files with 22 additions and 22 deletions
+1 -2
View File
@@ -4,7 +4,6 @@ module Dodge.Projectile.Draw (
import Control.Lens
import Data.Strict.Tuple
import Dodge.Data.Item.Use.Consumption.Ammo
import Dodge.Data.Projectile
import Geometry
import Picture
@@ -13,7 +12,7 @@ import ShapePicture
drawProjectile :: Projectile -> SPic
drawProjectile pj
| Just DestroyPU{} <- pj ^? pjUpdates . ix 0 = mempty
| RetiredProjectile <- pj ^. pjType = mempty
| Just NoHoming <- pj ^? pjType . rkHoming =
drawShell Nothing pj
| Just _ <- pj ^? pjType . rkHoming =