Use Item as argument in lUse rather than Int
This commit is contained in:
@@ -67,7 +67,7 @@ defaultlUse = LeftUse
|
||||
, _useHammer = NoHammer
|
||||
}
|
||||
|
||||
luseInstantNoH :: (Creature -> Int -> World -> World) -> ItemUse
|
||||
luseInstantNoH :: (Item -> Creature -> World -> World) -> ItemUse
|
||||
luseInstantNoH f = LeftUse
|
||||
{ _lUse = f
|
||||
, _useDelay = NoDelay
|
||||
|
||||
Reference in New Issue
Block a user