15 lines
No EOL
303 B
Haskell
15 lines
No EOL
303 B
Haskell
-- Represents a player in the game. This player can move around, pick
|
|
-- up items and interact with the world.
|
|
|
|
module Player
|
|
( Player(..)
|
|
) where
|
|
|
|
import Internals
|
|
|
|
----------------------------- Constants ------------------------------
|
|
|
|
data Player = Player {
|
|
hp :: Int,
|
|
inventory :: [Object]
|
|
} |