Partially implement separate blocks
This commit is contained in:
@@ -39,6 +39,8 @@ shiftPSBy (pos,rot) ps = ps
|
||||
& psPos %~ shiftPointBy (pos,rot)
|
||||
& psRot %~ (+ rot)
|
||||
|
||||
-- the Int here allows for passing parameters down to other placements:
|
||||
-- button ids, etc
|
||||
placeSpotID :: PlacementSpot -> World -> (Int, World)
|
||||
placeSpotID ps w = case _psType ps of
|
||||
PutProp prop -> placeProp prop p rot w
|
||||
|
||||
Reference in New Issue
Block a user