Pass projectile object to draw function

This commit is contained in:
jgk
2021-05-24 14:21:13 +02:00
parent a15d592951
commit 38682049c4
10 changed files with 36 additions and 34 deletions
+3
View File
@@ -537,3 +537,6 @@ evenOddSplit :: [a] -> ([a],[a])
evenOddSplit = foldr f ([],[])
where
f a (ls,rs) = (rs, a : ls)
dbArg :: (a -> a -> b) -> a -> b
dbArg f x = f x x