Tournament Methods

MiniProjekt

Tournament Methods

The Tournament type exposes the following members.

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
See Also