A Sandcastle Documented Class Library
Tournament Class |
The class tournament constructs the elements in which should be simulated in the tournament
Inheritance Hierarchy
Namespace: MiniProjekt
Assembly: MiniProjekt - Tournament (in MiniProjekt - Tournament.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
The Tournament type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Tournament | ||
Tournament |
Constructor of Tournament
|
Properties
Name | Description | |
---|---|---|
TournamentEnd |
Tournament property: Get the tournament end date
| |
TournamentName |
Tournament property: Gets the Tournament name
| |
TournamentStart |
Tournament property: Gets the tournament start date
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString |
ToString method
(Overrides ObjectToString.) | |
TournamentHandlerFemaleGame |
Handles the list returned from GetListFemalePlayer() in FileHandler
Based on how many Female players the user defines that they want to play at the tournament, it returns this amount of random players.
Will be executed if the user writes a wrong integer(string format) Will be thrown if the user writes something else than numbers | |
TournamentHandlerMaleGame |
Handles the list returned from GetListMalePlayers() in FileHandler
Inserts a random TennisPlayer object into the list malePlayerForRound with amount that the user defines in his/hers prompt
Will be executed if the user writes a wrong integer(string format) | |
TournamentHandlerRefs |
Handles the lists returned from GetListFemaleReferee() and GetListMaleReferee() in FileHandler
Combines the two lists of referees from FileHandler into the list "referees", after which it will ask the user, if it should use a referee from list as gamemaster or if he/she wants to be the GameMaster
Is thrown if the user types something wrong in the console |
Fields
See Also