Refactor, try to limit dependencies
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
module Dodge.Default.Prop where
|
||||
import Dodge.Data
|
||||
|
||||
import Dodge.Data.Prop
|
||||
import Geometry
|
||||
|
||||
defaultProp :: Prop
|
||||
defaultProp = ShapeProp
|
||||
{ _prPos = V2 0 0
|
||||
, _prDraw = PropDrawSPic mempty
|
||||
, _prID = 0
|
||||
, _prUpdate = PropUpdateId
|
||||
, _prToggle = True
|
||||
, _prRot = 0
|
||||
}
|
||||
defaultProp =
|
||||
ShapeProp
|
||||
{ _prPos = V2 0 0
|
||||
, _prDraw = PropDrawSPic mempty
|
||||
, _prID = 0
|
||||
, _prUpdate = PropUpdateId
|
||||
, _prToggle = True
|
||||
, _prRot = 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user