Packages

class Player extends AnyRef

The class Player represents football players in a match statistics program. Only some very basic information about each player is recorded.

A player object is immutable after creation.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Player
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Player(name: String, employer: Club)

    name

    the name of the player

    employer

    the club the player plays for

Value Members

  1. val employer: Club
  2. val name: String
  3. def toString: String
    Definition Classes
    Player → AnyRef → Any