tracer/src/Types/ObjType.hs

18 lines
326 B
Haskell
Raw Normal View History

{-# LANGUAGE MultiParamTypeClasses #-}
module Types.ObjType where
import Affection
import Data.Ecstasy (Ent)
data ObjType
= ObjCopier
2018-07-30 12:34:46 +00:00
| ObjComputer
2018-07-31 20:59:25 +00:00
| ObjToilet
deriving (Show, Eq, Ord, Enum)
class ObjectAction us t where
objectAction :: t -> Ent -> Affection us ()
2018-07-30 12:34:46 +00:00
2018-07-31 20:59:25 +00:00
objectUpdate :: t -> Ent -> Affection us ()