Tweak display, scrolling of item values
This commit is contained in:
@@ -430,7 +430,7 @@ shootLaser itmtree cr mz w =
|
||||
w
|
||||
& randGen .~ g
|
||||
& cWorld . lWorld . lasers
|
||||
.:~ LaserStart
|
||||
.:~ Laser
|
||||
{ _lpType = getLaserDamage itmtree
|
||||
, _lpPhaseV = getLaserPhaseV itmtree
|
||||
, _lpPos = pos
|
||||
@@ -445,9 +445,9 @@ shootLaser itmtree cr mz w =
|
||||
(a, g) = randomR (- inacc, inacc) $ _randGen w
|
||||
inacc = _mzInaccuracy mz
|
||||
|
||||
lasRayAt :: Color -> Int -> Float -> Point2 -> Float -> LaserStart
|
||||
lasRayAt :: Color -> Int -> Float -> Point2 -> Float -> Laser
|
||||
lasRayAt col dam phasev pos dir =
|
||||
LaserStart
|
||||
Laser
|
||||
{ _lpType = DamageLaser dam
|
||||
, _lpPhaseV = phasev
|
||||
, _lpPos = pos
|
||||
|
||||
Reference in New Issue
Block a user