Continue refactor

This commit is contained in:
2022-06-28 03:29:55 +01:00
parent e06527091e
commit 480fc2df5e
7 changed files with 17 additions and 25 deletions
+4 -5
View File
@@ -1,5 +1,5 @@
module Dodge.Render.Walls
( wallsToDrawStreams
( wallsToDraw
) where
import Dodge.Data
import Dodge.Zone
@@ -13,11 +13,10 @@ import qualified Control.Foldl as L
import qualified Streaming.Prelude as S
--import Data.List
--import qualified Data.IntMap.Strict as IM
wallsToDrawStreams
:: Configuration
-> World
wallsToDraw
:: World
-> ( [((Point2,Point2),Point4)] ,[((Point2,Point2),Point4)], SPic )
wallsToDrawStreams cfig w
wallsToDraw w
= ( wls, wins,spic)
where
f wl = (_wlLine wl, _wlColor wl)