add missing imports

This commit is contained in:
nek0 2021-04-18 15:07:56 +02:00
parent 083ef004cd
commit 039d567be8
2 changed files with 4 additions and 0 deletions

View file

@ -1,5 +1,7 @@
module Classes.Physics.Collectable where module Classes.Physics.Collectable where
import Classes.Physics.Collidible (Collidible)
-- | All kinds of Effects present in the game -- | All kinds of Effects present in the game
data Effect data Effect
= HealthUp = HealthUp

View file

@ -1,4 +1,6 @@
{-# LANGUAGE ExistentialQuantification #-} {-# LANGUAGE ExistentialQuantification #-}
module Types.Tangible where module Types.Tangible where
import Classes.Physics.Collectable (Collectable)
data Tangible = forall a . Collectable a => Tangible a data Tangible = forall a . Collectable a => Tangible a