More strictifiiiying
This commit is contained in:
+5
-4
@@ -6,6 +6,7 @@ import Dodge.Item.Data
|
||||
import Dodge.Default
|
||||
import Dodge.Picture
|
||||
import Picture
|
||||
import Geometry.Data
|
||||
|
||||
keyToken :: Int -> Item
|
||||
keyToken n = defaultEquipment
|
||||
@@ -27,8 +28,8 @@ keyToken n = defaultEquipment
|
||||
keyPic :: Picture
|
||||
keyPic = color green $
|
||||
pictures [translate (-4) 0 $ thickCircle 4 2
|
||||
,lineOfThickness 2 [(0,0),(8,0),(8,-4)]
|
||||
,lineOfThickness 2 [(4,0),(4,-4)]
|
||||
,lineOfThickness 2 $ map toV2 [(0,0),(8,0),(8,-4)]
|
||||
,lineOfThickness 2 $ map toV2 [(4,0),(4,-4)]
|
||||
]
|
||||
|
||||
latchkey :: Int -> Item
|
||||
@@ -51,6 +52,6 @@ latchkey n = defaultEquipment
|
||||
latchkeyPic :: Picture
|
||||
latchkeyPic = color yellow $
|
||||
pictures [translate (-4) 0 $ thickCircle 4 2
|
||||
,lineOfThickness 2 [(0,0),(8,0),(8,-4)]
|
||||
,lineOfThickness 2 [(4,0),(4,-4)]
|
||||
,lineOfThickness 2 $ map toV2 [(0,0),(8,0),(8,-4)]
|
||||
,lineOfThickness 2 $ map toV2 [(4,0),(4,-4)]
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user