aboutsummaryrefslogtreecommitdiff
path: root/src/Game/Entities/Types.hs
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-03-21 21:02:45 +0000
committerJuan J. Martinez <jjm@usebox.net>2023-03-21 21:02:45 +0000
commit1c8a22d24b14d258a9103f7b83d627359eae0da8 (patch)
tree92b3d18cf689ddc0bf90028e7139354d82c2da48 /src/Game/Entities/Types.hs
parent897bfe0f72ddc80a020a421cbe987b54716e571e (diff)
downloadspace-plat-hs-1c8a22d24b14d258a9103f7b83d627359eae0da8.tar.gz
space-plat-hs-1c8a22d24b14d258a9103f7b83d627359eae0da8.zip
Player transition into the stage
Diffstat (limited to 'src/Game/Entities/Types.hs')
-rw-r--r--src/Game/Entities/Types.hs8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Game/Entities/Types.hs b/src/Game/Entities/Types.hs
index 4ece6c5..e8b29b0 100644
--- a/src/Game/Entities/Types.hs
+++ b/src/Game/Entities/Types.hs
@@ -29,7 +29,13 @@ data Entities = Entities
-- | The effect name must match the sprite name in the spritesheet.
type EffectName = String
-data Action = ActionAddEffect Int Int EffectName | ActionAddBattery Int Int | ActionHitPlayer | ActionExitStarted | ActionExitDone
+data Action
+ = ActionAddEffect Int Int EffectName
+ | ActionAddBattery Int Int
+ | ActionHitPlayer
+ | ActionExitStarted
+ | ActionEntryDone
+ | ActionExitDone
data Entity = Entity
{ typ :: Type,