Update key event remapping

This commit is contained in:
Ross
2021-03-21 19:04:58 +00:00
parent d76fd5263c
commit e53b216d3d
2 changed files with 11 additions and 10 deletions
+3 -2
View File
@@ -19,7 +19,7 @@ import qualified Data.Map as M
import qualified Data.Set as S
import Data.Graph.Inductive.Graph hiding ((&))
import Data.List
import Dodge.KeyEvents (keyremap)
import Dodge.KeyEvents (keyremapDefault)
-- defalt datatypes / prototypes {{{
basicWall = Wall { _wlLine = [(0,0),(50,0)]
@@ -176,6 +176,7 @@ basicPP = PressPlate
, _ppText = "Pressure plate"
}
-- }}}
basicWorld = World
{ _keys = S.empty
, _mouseButtons = S.empty
@@ -224,7 +225,7 @@ basicWorld = World
, _lightSources = IM.empty
, _tempLightSources = [youLight]
, _closeActiveObjects = []
, _remap = keyremap
, _remap = keyremapDefault
}
youLight =
-- LS {_lsEff = \w _ p -> (logistic 1 1 1 (d p w * 0.01) )