From 7a8af18d0e1003c26eb595b5faa71e51da6286a6 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 17 Apr 2023 23:41:35 +0100 Subject: Added new shooter enemy --- src/Game/Entities/Robot.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Game/Entities/Robot.hs') diff --git a/src/Game/Entities/Robot.hs b/src/Game/Entities/Robot.hs index 664079a..11a10c5 100644 --- a/src/Game/Entities/Robot.hs +++ b/src/Game/Entities/Robot.hs @@ -23,7 +23,8 @@ mkRobot sprites x y d playerCollision isBlocked = do sprite = s, update = updateRobot playerCollision isBlocked, destroy = False, - actions = [] + actions = [], + dat = NoData } updateRobot :: Collision -> IsBlocked -> Entity -> IO Entity -- cgit v1.2.3