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