From 11d2ed7f15a86dd465bc3456e3478e9ff03bf5d2 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 21 Mar 2023 21:28:25 +0000 Subject: Introduce a set property Stopped abusing the direction property! --- src/Game/Entities/Pickup.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Game/Entities/Pickup.hs') diff --git a/src/Game/Entities/Pickup.hs b/src/Game/Entities/Pickup.hs index a933efc..68d3852 100644 --- a/src/Game/Entities/Pickup.hs +++ b/src/Game/Entities/Pickup.hs @@ -15,6 +15,7 @@ mkBattery sprites x y playerCollision = do y = y, delay = frameDelay, frame = 0, + set = 0, jumping = False, gravity = gravityOff, dir = DirRight, -- cgit v1.2.3