Another structure overhaul
This commit is contained in:
parent
3b0de65de1
commit
0720f3b719
14 changed files with 158 additions and 148 deletions
17
lib/RPGEngine/Data/Game.hs
Normal file
17
lib/RPGEngine/Data/Game.hs
Normal file
|
@ -0,0 +1,17 @@
|
|||
-- Representation of all the game's data
|
||||
|
||||
module RPGEngine.Data.Game
|
||||
( Game(..)
|
||||
,initGame
|
||||
) where
|
||||
|
||||
import RPGEngine.Data.Types
|
||||
import RPGEngine.Data.State
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
-- Initialize the game
|
||||
initGame :: Game
|
||||
initGame = Game {
|
||||
state = defaultState
|
||||
}
|
Reference in a new issue