Class LineUp


public class LineUp extends Object
Line up card each team presents to the scorekeeper.
Version:
3-10-24
Author:
L Kedigh
  • Field Details

  • Constructor Details

    • LineUp

      public LineUp(PositionPlayer[] lineUpOrder, Pitcher pitch)
    • LineUp

      public LineUp(int selection)
  • Method Details

    • getLineUp

      public PositionPlayer[] getLineUp()
      accessors
    • getCurrentBatter

      public PositionPlayer getCurrentBatter(int index)
    • getCurrentPitcher

      public Pitcher getCurrentPitcher()
    • changePitcher

      public void changePitcher(Pitcher newPitcher)
      modifiers
    • changeBatter

      public void changeBatter(int index, PositionPlayer newBatter)
    • outputLineUps

      public void outputLineUps()
      helpers