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/RPGEngine/Internals/Data/Player.hs

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