Class Referee

java.lang.Object
edu.ntnu.idatt1002.k1g4.people.Person
edu.ntnu.idatt1002.k1g4.people.Referee

public class Referee extends Person
The type Referee.
  • Constructor Details

    • Referee

      public Referee(String name, boolean hasLicense)
      Instantiates a new Referee.
      Parameters:
      name - , String. Name of the referee. Not blank.
      hasLicense - , boolean. If the referee has a license.
  • Method Details

    • isHasLicense

      public boolean isHasLicense()
      Gets the license boolean.
      Returns:
      the boolean
    • setHasLicense

      public void setHasLicense(boolean hasLicense)
      Sets has license.
      Parameters:
      hasLicense - the has license