tracer/src/Types/ObjType.hs

14 lines
249 B
Haskell
Raw Normal View History

{-# LANGUAGE MultiParamTypeClasses #-}
module Types.ObjType where
import Affection
import Data.Ecstasy (Ent)
data ObjType
= ObjCopier
deriving (Show, Eq, Ord, Enum)
class ObjectAction us t where
objectAction :: t -> Ent -> Affection us ()