Implement targeting launcher shells using separate item
This commit is contained in:
@@ -69,11 +69,12 @@ drawSweep cr w = fromMaybe mempty $ do
|
||||
mwp = mouseWorldPos theinput campos
|
||||
|
||||
anyTargeting :: Configuration -> World -> SPic
|
||||
anyTargeting cfig w = fromMaybe mempty $ do
|
||||
tt <- cr ^? crTargeting . ctType . _Just
|
||||
return $ noShape $ drawTargeting tt cr cfig w
|
||||
where
|
||||
cr = you w
|
||||
anyTargeting _ _ = mempty
|
||||
--anyTargeting cfig w = fromMaybe mempty $ do
|
||||
-- tt <- cr ^? crTargeting . ctType . _Just
|
||||
-- return $ noShape $ drawTargeting tt cr cfig w
|
||||
-- where
|
||||
-- cr = you w
|
||||
|
||||
drawCreature :: Creature -> SPic
|
||||
drawCreature cr = case _crType cr of
|
||||
|
||||
Reference in New Issue
Block a user