Package drawing.hangman.stages
Class LeftBar
java.lang.Object
drawing.hangman.stages.LeftBar
- All Implemented Interfaces:
Stage
The LeftBar object implements the the Stage class.
This draws out the Left Bar of the hangman drawing.
- Since:
- 2023
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
draw()
Draw method with logic using a Marker instance.int
This returns the stageNumber we are at.
-
Constructor Details
-
LeftBar
public LeftBar()Constructor to intialise the stageNumber.
-
-
Method Details
-
draw
public void draw()Draw method with logic using a Marker instance. -
getStageNumber
public int getStageNumber()This returns the stageNumber we are at.- Specified by:
getStageNumber
in interfaceStage
- Returns:
- int
-