Class BottomBar

java.lang.Object
drawing.hangman.stages.BottomBar
All Implemented Interfaces:
Stage

public class BottomBar extends Object implements Stage
The BottomBar object implements the the Stage class. This draws out the Bottom Bar of the hangman drawing.
Since:
2023
  • Constructor Details

    • BottomBar

      public BottomBar()
      Constructor to intialise the stageNumber.
  • Method Details

    • draw

      public void draw()
      Draw method with logic using a Marker instance.
      Specified by:
      draw in interface Stage
    • getStageNumber

      public int getStageNumber()
      This returns the stageNumber we are at.
      Specified by:
      getStageNumber in interface Stage
      Returns:
      int