Add z levels to shockwaves
This commit is contained in:
@@ -13,7 +13,7 @@ makeShockwaveAt ::
|
||||
-- | IDs of invulnerable creatures.
|
||||
[Int] ->
|
||||
-- | Center of shockwave.
|
||||
Point2 ->
|
||||
Point3 ->
|
||||
-- | Maximal radius.
|
||||
Float ->
|
||||
-- | Damage caused per frame.
|
||||
@@ -41,7 +41,7 @@ makeShockwaveAt is p rad dam push col =
|
||||
|
||||
{- Create a shockwave going from an outside circle into a center point. -}
|
||||
inverseShockwaveAt ::
|
||||
Point2 -> -- Center position
|
||||
Point3 -> -- Center position
|
||||
Float -> -- Radius
|
||||
Int -> -- Damage
|
||||
Float -> -- Push amount
|
||||
|
||||
Reference in New Issue
Block a user