#18 & massive structure overhaul
This commit is contained in:
parent
83659e69b4
commit
3b0de65de1
16 changed files with 397 additions and 221 deletions
15
lib/RPGEngine/Internals/Data/Player.hs
Normal file
15
lib/RPGEngine/Internals/Data/Player.hs
Normal file
|
@ -0,0 +1,15 @@
|
|||
-- 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]
|
||||
}
|
Reference in a new issue