Separate and reify laser beams
This commit is contained in:
@@ -10,6 +10,7 @@ doPressPlateEvent ppe = case ppe of
|
||||
PressPlateId -> const id
|
||||
PPLevelReset -> ppLevelReset
|
||||
|
||||
ppLevelReset :: PressPlate -> World -> World
|
||||
ppLevelReset pp w
|
||||
| dist (_crPos $ you w) (_ppPos pp) < 20 = makeExplosionAt (_ppPos pp) w
|
||||
| otherwise = w
|
||||
|
||||
Reference in New Issue
Block a user