diff options
author | Benoît LUBRANO DI SBARAGLIONE | 2014-03-12 10:51:36 +0100 |
---|---|---|
committer | Benoît LUBRANO DI SBARAGLIONE | 2014-03-12 10:51:36 +0100 |
commit | 07c3d56b24c9693ec060399823dd233184c054a3 (patch) | |
tree | 9239b91e272c0fd5f95db45d7478195251b00d0f /report | |
parent | f218bf5fa6f47b00800d068097b3b75c86fa1e39 (diff) | |
download | esieequest-07c3d56b24c9693ec060399823dd233184c054a3.tar.gz |
Update zuul with history report.
Diffstat (limited to 'report')
-rw-r--r-- | report/progression.tex | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/report/progression.tex b/report/progression.tex index 6600430..cf4f3d2 100644 --- a/report/progression.tex +++ b/report/progression.tex | |||
@@ -204,12 +204,27 @@ to perform actions on a particular one (take, drop, use, etc\ldots). | |||
204 | 204 | ||
205 | \subsection{back} | 205 | \subsection{back} |
206 | 206 | ||
207 | The back command was implemented as part of commit f218bf5fa. | ||
208 | |||
207 | \subsection{back test} | 209 | \subsection{back test} |
208 | 210 | ||
211 | The back command works even with any parameter. We will check this later with | ||
212 | "zuul-with-enums". | ||
213 | |||
209 | \subsection{back back} | 214 | \subsection{back back} |
210 | 215 | ||
216 | When the user enters back twice, he goes two rooms backward. This is working | ||
217 | correctly. | ||
218 | |||
211 | \subsection{Stack} | 219 | \subsection{Stack} |
212 | 220 | ||
221 | The Stack class represents a last-in-first-out (LIFO) stack of objects. The push() | ||
222 | method allows to add and element at the top of the stack and the pop() method | ||
223 | allows to retrieve the top item and removes it. | ||
224 | |||
225 | A condition checks whether the Stack is empty before calling the pop() method, | ||
226 | so that the program does not throw an Exception. This resolve the case when the | ||
227 | player is at the starting point. | ||
213 | 228 | ||
214 | \section{Zuul with tests} | 229 | \section{Zuul with tests} |
215 | 230 | ||