From b19e6711834472ee561831dc1e4a529382af20f5 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Wed, 2 Apr 2014 11:00:13 +0200 Subject: Update report --- report/progression.tex | 3 +++ 1 file changed, 3 insertions(+) (limited to 'report') diff --git a/report/progression.tex b/report/progression.tex index 24c5d7a..1cc10ac 100644 --- a/report/progression.tex +++ b/report/progression.tex @@ -266,6 +266,9 @@ to win the game. \subsection{Player} +The current room and the previous rooms were moved from Game to Player with +commit 92f671b84. + \subsection{take, drop} \subsection{Carry several items} -- cgit v1.2.3 From 484c4c1e06c060f0185126ddd00d3a905dd2f05f Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 6 Apr 2014 14:22:21 +0200 Subject: Update report --- report/progression.tex | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'report') diff --git a/report/progression.tex b/report/progression.tex index 1cc10ac..f8c05c4 100644 --- a/report/progression.tex +++ b/report/progression.tex @@ -271,8 +271,15 @@ commit 92f671b84. \subsection{take, drop} +The take and drop commands were implemented as part of the commit number +5ddb6df63. An Inventory interface, used by the Room and Player classes, was +added. Items are stored using HashMaps, and a moveItem procedure was added to +the Performer. + \subsection{Carry several items} +Multiple items carrying was already implemented in the commit number 5ddb6df63. + \subsection{ItemList} \subsection{Maximum weight} -- cgit v1.2.3 From 4ef10e49ecf6a786c60eda0461871aa9d0012e0b Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 6 Apr 2014 15:05:09 +0200 Subject: Update report --- report/progression.tex | 3 +++ 1 file changed, 3 insertions(+) (limited to 'report') diff --git a/report/progression.tex b/report/progression.tex index f8c05c4..809cb78 100644 --- a/report/progression.tex +++ b/report/progression.tex @@ -282,6 +282,9 @@ Multiple items carrying was already implemented in the commit number 5ddb6df63. \subsection{ItemList} +The ItemList was implemented as the Inventory class in commit number db2c22c9b. +The Inventory is no longer an interface. + \subsection{Maximum weight} \subsection{Inventory} -- cgit v1.2.3 From bfbd481b9da18fb810b5dcb01dd8c8ee61d4341c Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 6 Apr 2014 15:07:11 +0200 Subject: Update report --- report/progression.tex | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'report') diff --git a/report/progression.tex b/report/progression.tex index 809cb78..5408d48 100644 --- a/report/progression.tex +++ b/report/progression.tex @@ -287,6 +287,10 @@ The Inventory is no longer an interface. \subsection{Maximum weight} +The maximum carryable weight was implement with the commit number b8771ccb2. +In order to achieve this, a getTotalWeight() function was added to the Inventory +class. + \subsection{Inventory} \subsection{Magic cookie} -- cgit v1.2.3 From ed9e5e3bc1f8861b9c235d3c486cbf750f8f37d2 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 6 Apr 2014 15:14:16 +0200 Subject: Update report --- report/progression.tex | 3 +++ 1 file changed, 3 insertions(+) (limited to 'report') diff --git a/report/progression.tex b/report/progression.tex index 5408d48..8bb0b43 100644 --- a/report/progression.tex +++ b/report/progression.tex @@ -293,6 +293,9 @@ class. \subsection{Inventory} +The player's inventory items listing was implemented with the commit number +a3f6ce16e, using the recently added listing utility class. + \subsection{Magic cookie} \subsection{Tests} -- cgit v1.2.3 From 8312e144784d0c9a2295980221a5ed5af166a895 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 6 Apr 2014 15:19:52 +0200 Subject: Update report --- report/progression.tex | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'report') diff --git a/report/progression.tex b/report/progression.tex index 8bb0b43..d40a8e6 100644 --- a/report/progression.tex +++ b/report/progression.tex @@ -298,6 +298,12 @@ a3f6ce16e, using the recently added listing utility class. \subsection{Magic cookie} +Since there are already too many commands, the carryable weight +expansion was implemented in a smarter way using a negative weight +item in the commit number 35ee3b1ee. +We could have instead increased the maximum carryable weight with a setter on +the Player class, called by the Performer with the ``eat'' command. + \subsection{Tests} -- cgit v1.2.3 From 013f9175a9ad8f103d439e1b7e61efd1e2cd43e0 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 6 Apr 2014 15:22:33 +0200 Subject: Update report --- report/progression.tex | 2 ++ 1 file changed, 2 insertions(+) (limited to 'report') diff --git a/report/progression.tex b/report/progression.tex index d40a8e6..94cc5b5 100644 --- a/report/progression.tex +++ b/report/progression.tex @@ -306,6 +306,8 @@ the Player class, called by the Performer with the ``eat'' command. \subsection{Tests} +The commands test file was updated in the commit number 7b610fc05. + \section{Zuul with enums} -- cgit v1.2.3