Restructuring, #9
This commit is contained in:
parent
2055ef234e
commit
dab6fadad4
41 changed files with 941 additions and 680 deletions
10
README.md
10
README.md
|
@ -258,6 +258,16 @@ If we look at the example, all the objects are
|
|||
|
||||
<mark>TODO</mark>
|
||||
|
||||
`RPGEngine` is the main module. It contains the `playRPGEngine` function which bootstraps the whole game. It is also
|
||||
the game loop. From here, `RPGEngine` talks to its submodules.
|
||||
|
||||
These submodules are `Config`, `Data`, `Input`, `Parse` & `Render`. They are all responsible for their own part, either
|
||||
containing the program configuration, data containers, everything needed to handle input, everything needed to parse a
|
||||
source file & everything needed to render the game. However, each of these submodules has their own submodules to
|
||||
divide the work. They are conveniently named after the state of the game that they work with, e.g. the main menu has a
|
||||
module & when the game is playing is a different module. A special one is `Core`, which is kind of like a library for
|
||||
every piece. It contains functions that are regularly used by the other modules.
|
||||
|
||||
#### Monads/Monad stack
|
||||
|
||||
<mark>TODO</mark>
|
||||
|
|
Reference in a new issue