From c5d0945eb63c0a7537ba85ba088f33639f703520 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Thu, 27 Feb 2014 18:09:57 +0100 Subject: Update report --- report/progression.tex | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'report') 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. \subsection{Structure} +Three packages were made to help matching this architecture: model, view and +controller. + +The model package contains the objects storing the game state and various +elements representing a data, that is to say the Game, Room and Command classes. + +The view package contains the user interfaces, rich and console, that displays +the game state to the user and enable him to interact with the game by firing events to the +controller. + +The controller consists of several classes and represents the logic part of the +program, which are the GameEngine, the Interpret, the Parser and the Performer. +They handle the events created by the user's actions and modify the Game model +accordingly, refreshing the view to display the new game state. + +Several internal modifications in the existing classes were made in order to +separate the logic from the data storage as part of commit bd639caa0. + \section{Zuul with items v1} -- cgit v1.2.3