Class Group
java.lang.Object
edu.ntnu.idatt1002.k2g05.controllers.opentournament.utils.Group
A Group is a group in a group play but can also be used in finals. It hols the columns which are going to be filled
with nodes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
addMatchColumn
(MatchColumn matchColumn) Method for adding a match column to the group.Gets all the matchColumns in the given groupgetName()
Gets the name of the group
-
Constructor Details
-
Group
Constructor for creating a new instance of a group- Parameters:
name
- of the group
-
-
Method Details
-
getName
Gets the name of the group- Returns:
- the name
-
getMatchColumns
Gets all the matchColumns in the given group- Returns:
-
addMatchColumn
Method for adding a match column to the group.- Parameters:
matchColumn
- to be added- Returns:
- true if the list changed.
-