Move towards using item structural function when using items
This commit is contained in:
@@ -58,11 +58,11 @@ data ItemUse
|
||||
, _amagType :: AmmoType
|
||||
}
|
||||
| UseScope { _uScope :: Scope }
|
||||
| UseTargeting
|
||||
{ _tgPos :: Maybe Point2
|
||||
, _tgID :: Maybe Int
|
||||
, _tgActive :: Bool
|
||||
}
|
||||
-- | UseTargeting
|
||||
-- { _tgPos :: Maybe Point2
|
||||
-- , _tgID :: Maybe Int
|
||||
-- , _tgActive :: Bool
|
||||
-- }
|
||||
| UseBulletMod { _ubMod :: BulletMod }
|
||||
deriving (Eq, Show, Read)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user