This repository has been archived on 2023-06-24. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
2022FuncProg-project3-RPGEn.../lib/data/Player.hs

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]
}