Fix wall bug, refactor placements
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
module Dodge.Placement
|
||||
where
|
||||
import Geometry
|
||||
import Dodge.LevelGen.Data
|
||||
|
||||
jsps0 :: PSType -> Maybe Placement
|
||||
jsps0 pst = Just $ sPS (V2 0 0) 0 pst
|
||||
|
||||
place0 :: PSType -> (Int -> Maybe Placement) -> Placement
|
||||
place0 pst = Placement (PS (V2 0 0) 0 pst)
|
||||
Reference in New Issue
Block a user