Draw floor item shapes

This commit is contained in:
2021-09-22 11:54:25 +01:00
parent fa7d8e1b50
commit 27a780ff47
3 changed files with 22 additions and 6 deletions
+10
View File
@@ -0,0 +1,10 @@
module Dodge.Render.ShapePicture
where
import Dodge.Data
import Geometry
import ShapePicture
floorItemSPic :: FloorItem -> SPic
floorItemSPic flit = uncurryV translateSPf (_flItPos flit)
$ rotateSP (_flItRot flit) (_itFloorPict (_flIt flit))