Move config local to Dodge
This commit is contained in:
@@ -7,6 +7,7 @@ import Dodge.CreatureAction
|
||||
import Dodge.Update.UsingInput
|
||||
import Dodge.Event
|
||||
import Dodge.CreatureState
|
||||
import Dodge.LoadConfig
|
||||
|
||||
import Geometry
|
||||
|
||||
@@ -18,7 +19,6 @@ import System.Random
|
||||
|
||||
import Data.Maybe
|
||||
|
||||
import LoadConfig
|
||||
|
||||
yourControl :: World -> (World -> World,StdGen) -> Creature -> ((World -> World,StdGen), Maybe Creature)
|
||||
yourControl w (f,g) cr = ( (updateUsingInput . f, g)
|
||||
|
||||
Reference in New Issue
Block a user