summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-02-10 21:51:26 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-02-10 21:51:26 -0500
commit276fe1cd1059f259f31f2655f43252eb30ed14f1 (patch)
tree30781e1fcf082ffe33cbf3cc91c20ce189af39a6
parent999c6945263bfb1a1b1f704b5e37ce93cd26474c (diff)
parent4e17f0ac333530c1f33c3647ecb82e5c535b2a92 (diff)
Merge branch 'master' of github.com:LukeShu/leager
-rw-r--r--docs/DesignDocument.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/DesignDocument.md b/docs/DesignDocument.md
index 576d8b2..374cb21 100644
--- a/docs/DesignDocument.md
+++ b/docs/DesignDocument.md
@@ -121,20 +121,20 @@ ActiveRecord::Base (abstract)
: The abstract model that all other models inherit from.
Server
- : Server model providing access to system settings such as Language, Time_Zone, Server_name, Owner_name, and Version.
+ : Server model providing access to system settings such as Language, Time_Zone, Server_name, Owner_name, and Version. This class is edited and read by the MainController.
Tournement
- : This model represents the structure of a tournement. It will have several data sections to it including: The match settings, the matches contained inside of the tournement, a unique id for the tournement, and the registered players that are participating in the tournement.
+ : This model represents the structure of a tournement. It will have several data sections to it including: The match settings, the matches contained inside of the tournement, a unique id for the tournement, and the registered players that are participating in the tournement. This class interacts with a multitude of other model classes (see UML) and all four tournament controllers.
Match
- : A match will be a single set of data that contains all of the statistics of one game. This includes: players personal scores, team members, scores for each team, game time, the tournement that match took place in, and the date.
+ : A match will be a single set of data that contains all of the statistics of one game. This includes: players personal scores, team members, scores for each team, game time, the tournement that match took place in, and the date. This model interacts with the match controller, and is both a part of and has a many to one relationship with a tournament object.
Team
- : This model will consist of a list of players for a tournement. The team creation process is chosen by the host of the tournement and team setup will either be pre-determined teams or randomly assigned teams.
+ : This model will consist of a list of players for a tournement. The team creation process is chosen by the host of the tournement and team setup will either be pre-determined teams or randomly assigned teams. This model interacts with the tournament model class.
User
: This model represents all types of users; hosts, players, and
- spectators. These roles are identified by a “role” attribute.
+ spectators. These roles are identified by a “role” attribute. The user is an object that is often referenced by other classes, including tournament, match, and team.
### VIEWS