Pass projectile object to draw function

This commit is contained in:
2021-05-24 14:21:13 +02:00
parent a15d592951
commit 38682049c4
10 changed files with 36 additions and 34 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ defaultPT = Projectile
{ _pjPos = (0,0)
, _pjStartPos = (0,0)
, _pjVel = (0,0)
, _pjPict = blank
, _pjDraw = \_ -> blank
, _pjID = 0
, _pjUpdate = id
}