Mid strictifying
This commit is contained in:
@@ -3,10 +3,11 @@ module Dodge.Default.Wall
|
||||
import Dodge.Data
|
||||
import Picture
|
||||
import qualified DoubleStack as DS
|
||||
import Geometry.Data
|
||||
{- Indestructible wall. -}
|
||||
defaultWall :: Wall
|
||||
defaultWall = Wall
|
||||
{ _wlLine = ((0,0),(50,0))
|
||||
{ _wlLine = ((V2 0 0),(V2 50 0))
|
||||
, _wlID = 0
|
||||
, _wlColor = greyN 0.6
|
||||
, _wlSeen = False
|
||||
@@ -15,7 +16,7 @@ defaultWall = Wall
|
||||
{- Indestructible see-through wall. -}
|
||||
defaultCrystalWall :: Wall
|
||||
defaultCrystalWall = Wall
|
||||
{ _wlLine = ((0,0),(50,0))
|
||||
{ _wlLine = ((V2 0 0),(V2 50 0))
|
||||
, _wlID = 0
|
||||
, _wlColor = withAlpha 0.5 aquamarine
|
||||
, _wlSeen = False
|
||||
@@ -25,26 +26,26 @@ defaultCrystalWall = Wall
|
||||
Pathable. -}
|
||||
defaultAutoDoor :: Wall
|
||||
defaultAutoDoor = Door
|
||||
{ _wlLine = ((0,0),(50,0))
|
||||
{ _wlLine = ((V2 0 0),(V2 50 0))
|
||||
, _wlID = 0
|
||||
, _doorMech = id
|
||||
, _wlColor = light $ dim $ dim $ dim yellow
|
||||
, _wlSeen = False
|
||||
, _wlIsSeeThrough = False
|
||||
, _doorPathable = True
|
||||
, _drPositions = DS.singleton ((0,0),(50,0))
|
||||
, _drPositions = DS.singleton ((V2 0 0),(V2 50 0))
|
||||
}
|
||||
{-
|
||||
Non-pathable door.
|
||||
-}
|
||||
defaultDoor :: Wall
|
||||
defaultDoor = Door
|
||||
{ _wlLine = ((0,0),(50,0))
|
||||
{ _wlLine = ((V2 0 0),(V2 50 0))
|
||||
, _wlID = 0
|
||||
, _doorMech = id
|
||||
, _wlColor = light $ dim $ dim $ dim yellow
|
||||
, _wlSeen = False
|
||||
, _wlIsSeeThrough = False
|
||||
, _doorPathable = False
|
||||
, _drPositions = DS.singleton ((0,0),(50,0))
|
||||
, _drPositions = DS.singleton ((V2 0 0),(V2 50 0))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user