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/Game.hs

25 lines
470 B
Haskell

-- Representation of all the game's data
module RPGEngine.Internals.Data.Game
( Game(..),
initGame
) where
import RPGEngine.Internals.Data.State
----------------------------- Constants ------------------------------
-- TODO Add more
data Game = Game {
-- Current state of the game
state :: State
}
----------------------------------------------------------------------
-- Initialize the game
initGame :: Game
initGame = Game {
state = defaultState
}