diff options
author | Pacien TRAN-GIRARD | 2014-02-27 18:09:57 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2014-02-27 18:09:57 +0100 |
commit | c5d0945eb63c0a7537ba85ba088f33639f703520 (patch) | |
tree | f4955170d73e3ba299f4e2c8627ba99e5d90fd64 /report | |
parent | 84362d748c2b55da2b0066a256d83ca3e3ed72d3 (diff) | |
download | esieequest-c5d0945eb63c0a7537ba85ba088f33639f703520.tar.gz |
Update report
Diffstat (limited to 'report')
-rw-r--r-- | report/progression.tex | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/report/progression.tex b/report/progression.tex index f015634..6ae15b1 100644 --- a/report/progression.tex +++ b/report/progression.tex | |||
@@ -160,6 +160,24 @@ forward the command. | |||
160 | 160 | ||
161 | \subsection{Structure} | 161 | \subsection{Structure} |
162 | 162 | ||
163 | Three packages were made to help matching this architecture: model, view and | ||
164 | controller. | ||
165 | |||
166 | The model package contains the objects storing the game state and various | ||
167 | elements representing a data, that is to say the Game, Room and Command classes. | ||
168 | |||
169 | The view package contains the user interfaces, rich and console, that displays | ||
170 | the game state to the user and enable him to interact with the game by firing events to the | ||
171 | controller. | ||
172 | |||
173 | The controller consists of several classes and represents the logic part of the | ||
174 | program, which are the GameEngine, the Interpret, the Parser and the Performer. | ||
175 | They handle the events created by the user's actions and modify the Game model | ||
176 | accordingly, refreshing the view to display the new game state. | ||
177 | |||
178 | Several internal modifications in the existing classes were made in order to | ||
179 | separate the logic from the data storage as part of commit bd639caa0. | ||
180 | |||
163 | 181 | ||
164 | \section{Zuul with items v1} | 182 | \section{Zuul with items v1} |
165 | 183 | ||