Attempt to improve perfomance
This commit is contained in:
@@ -9,8 +9,10 @@ module Dodge.Data.Universe (
|
||||
module Dodge.Data.World,
|
||||
module Data.Preload,
|
||||
module Picture.Data,
|
||||
module Loop.Data
|
||||
) where
|
||||
|
||||
import Loop.Data
|
||||
import Control.Lens
|
||||
--import qualified Data.Map.Strict as M
|
||||
import Data.Preload
|
||||
@@ -34,7 +36,7 @@ data Universe = Universe
|
||||
}
|
||||
|
||||
data ConcEffect = NoConcEffect
|
||||
| NewConcEffect {_ceFunction :: (Universe -> Universe, IO (Universe -> Maybe Universe))
|
||||
| NewConcEffect {_ceFunction :: ConcurrentEffect Universe
|
||||
, _ceString :: String, _ceIsBlocking :: Bool}
|
||||
| BlockingConcEffect {_ceString :: String}
|
||||
| BackgroundConcEffect {_ceString :: String}
|
||||
|
||||
Reference in New Issue
Block a user