Tournament Class

MiniProjekt

Tournament Class

The class tournament constructs the elements in which should be simulated in the tournament
Inheritance Hierarchy
SystemObject  MiniProjektTournament

Namespace:  MiniProjekt
Assembly:  MiniProjekt - Tournament (in MiniProjekt - Tournament.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
internal class Tournament

The Tournament type exposes the following members.

Constructors
  NameDescription
Private methodStatic memberTournament
Public methodTournament
Constructor of Tournament
Top
Properties
  NameDescription
Private propertyTournamentEnd
Tournament property: Get the tournament end date
Private propertyTournamentName
Tournament property: Gets the Tournament name
Private propertyTournamentStart
Tournament property: Gets the tournament start date
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString
ToString method
(Overrides ObjectToString.)
Public methodTournamentHandlerFemaleGame
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
Public methodTournamentHandlerMaleGame
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)
Public methodTournamentHandlerRefs
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
Top
Fields
See Also