Uses of Class
edu.ntnu.idatt1002.k2g05.models.games.MatchGame
Packages that use MatchGame
-
Uses of MatchGame in edu.ntnu.idatt1002.k2g05.models.rounds
Methods in edu.ntnu.idatt1002.k2g05.models.rounds that return MatchGameModifier and TypeMethodDescriptionMatchRound.getMatchGame
(int index) Get a specific matchGame given its insertion order (index) in the round.Methods in edu.ntnu.idatt1002.k2g05.models.rounds that return types with arguments of type MatchGameModifier and TypeMethodDescriptionMatchRound.getAllMatchGames()
Method for getting all the matchGames in the round.MatchRound.getTopMatchGames
(int n) Method for getting the top n matchGames in the round, "top" is defined by the points that the matchGames has If the n-th player and the n+1-th player has the same point score it will be up to the previous sorted arrangement of the games.Methods in edu.ntnu.idatt1002.k2g05.models.rounds with parameters of type MatchGameModifier and TypeMethodDescriptionboolean
MatchRound.addMatchGame
(MatchGame matchGame) Method for adding matchGame to the round.boolean
MatchRound.removeMatchGame
(MatchGame matchGame) Removes the first occurrence of a matchGame from this round, if it is present.