Add destroyable lighting

This commit is contained in:
2021-03-27 11:59:34 +01:00
parent 151fa5b6bd
commit 2897c65e9e
7 changed files with 135 additions and 143 deletions
+3
View File
@@ -2,11 +2,14 @@ module Dodge.Room.Placement
where
import Dodge.Data
import Picture
import Dodge.Creature.Inanimate
import Geometry
-- module defining helper placements for rooms
putLamp = PutCrit lamp
singleBlock :: Point2 -> [PlacementSpot]
singleBlock a = [PS a 0 $ PutBlock [5,20,20] (greyN 0.5)
$ reverse $ rectNSWE 10 (-10) (-10) 10]