blob: e2ca874dddbc9adf227cca42efcf70bf7390338d (
plain) (
tree)
|
|
module Xanthous.Entities.Character
( Character(..)
, mkCharacter
) where
--------------------------------------------------------------------------------
import Xanthous.Prelude
import Test.QuickCheck
--------------------------------------------------------------------------------
import Xanthous.Entities
--------------------------------------------------------------------------------
data Character = Character
deriving stock (Show, Eq, Ord, Generic)
deriving anyclass (CoArbitrary, Function)
deriving Draw via (DrawCharacter "@" Character)
instance Entity Character where
blocksVision _ = False
instance Arbitrary Character where
arbitrary = pure Character
mkCharacter :: Character
mkCharacter = Character
|