Add trajectory to grenades, various refactoring

This commit is contained in:
2021-09-25 18:39:53 +01:00
parent a0340eb024
commit 32367b5b2d
32 changed files with 339 additions and 253 deletions
+2 -2
View File
@@ -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
}