Move towards external targeting items
This commit is contained in:
+11
-7
@@ -1,8 +1,12 @@
|
||||
/home/justin/Haskell/loop/src/Dodge/Data/Item/Use/Consumption/Ammo.hs:53:27-44: error:
|
||||
• Not in scope: type constructor or class ‘ProjectileCreate’
|
||||
Perhaps you meant one of these:
|
||||
‘ProjectileUpdate’ (line 21), ‘ProjectileDraw’ (line 18)
|
||||
• In the Template Haskell quotation ''ProjectileCreate
|
||||
/home/justin/Haskell/loop/src/Dodge/Item/Display.hs:(109,28)-(121,21): warning: [-Wincomplete-patterns]
|
||||
Pattern match(es) are non-exhaustive
|
||||
In a case alternative: Patterns not matched: TargetingUse _ _ _
|
||||
|
|
||||
109 | itemNumberDisplay cr itm = case iu of
|
||||
| ^^^^^^^^^^...
|
||||
/home/justin/Haskell/loop/src/Dodge/Creature/Impulse/UseItem.hs:(36,22)-(46,19): warning: [-Wincomplete-patterns]
|
||||
Pattern match(es) are non-exhaustive
|
||||
In a case alternative: Patterns not matched: TargetingUse _ _ _
|
||||
|
|
||||
53 | deriveJSON defaultOptions ''ProjectileCreate
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
36 | itemEffect cr it w = case it ^. ldtValue . itUse of
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
|
||||
|
||||
Reference in New Issue
Block a user