Use strict tuples for SPics
This commit is contained in:
@@ -2,6 +2,7 @@ module Dodge.Projectile.Draw
|
||||
( drawProjectile
|
||||
) where
|
||||
|
||||
import Data.Strict.Tuple
|
||||
import Dodge.Data.Item.Use.Consumption.Ammo
|
||||
import Dodge.Data.Projectile
|
||||
import Geometry
|
||||
@@ -40,6 +41,5 @@ drawRemoteShell pj
|
||||
|
||||
remoteShellShape :: Color -> SPic
|
||||
remoteShellShape col =
|
||||
( shellShape
|
||||
, setLayer BloomNoZWrite . setDepth 4.5 . color col $ circleSolid 3
|
||||
)
|
||||
shellShape
|
||||
:!: ( setLayer BloomNoZWrite . setDepth 4.5 . color col $ circleSolid 3)
|
||||
|
||||
Reference in New Issue
Block a user