Add trajectory to grenades, various refactoring
This commit is contained in:
@@ -221,12 +221,12 @@ defaultButton = Button
|
||||
, _btText = "Button"
|
||||
, _btState = BtOff
|
||||
}
|
||||
defaultPT :: Projectile
|
||||
defaultPT :: Prop
|
||||
defaultPT = Projectile
|
||||
{ _pjPos = V2 0 0
|
||||
, _pjStartPos = V2 0 0
|
||||
, _pjVel = V2 0 0
|
||||
, _pjDraw = const blank
|
||||
, _prDraw = const mempty
|
||||
, _pjID = 0
|
||||
, _pjUpdate = const id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user