Refactor targeting
This commit is contained in:
+2
-2
@@ -438,8 +438,8 @@ data Targeting
|
||||
= NoTargeting
|
||||
| Targeting
|
||||
{ _tgPos :: Maybe Point2
|
||||
, _tgUpdate :: Item -> Creature -> World -> Targeting -> (World, Targeting)
|
||||
, _tgDraw :: Item -> Creature -> Configuration -> World -> Picture
|
||||
, _tgUpdate :: TargetUpdate --Item -> Creature -> World -> Targeting -> (World, Targeting)
|
||||
, _tgDraw :: TargetDraw --Item -> Creature -> Configuration -> World -> Picture
|
||||
, _tgID :: Maybe Int
|
||||
, _tgActive :: Bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user