Add forgotten files, many updates concerning turrets and shields
This commit is contained in:
@@ -144,6 +144,13 @@ insertIMInZone x y obid obj = IM.insertWith f x $ IM.singleton y $ IM.singleton
|
||||
where
|
||||
f _ = IM.insertWith g y $ IM.singleton obid obj
|
||||
g _ = IM.insert obid obj
|
||||
deleteIMInZone
|
||||
:: Int -- ^ First key
|
||||
-> Int -- ^ Second key
|
||||
-> Int -- ^ Third key
|
||||
-> IM.IntMap (IM.IntMap (IM.IntMap a))
|
||||
-> IM.IntMap (IM.IntMap (IM.IntMap a))
|
||||
deleteIMInZone x y z = ix x . ix y %~ IM.delete z
|
||||
adjustIMZone
|
||||
:: (a -> a) -- ^ Update function
|
||||
-> Int -- ^ First key
|
||||
|
||||
Reference in New Issue
Block a user