Package game
Klasse MainGame
java.lang.Object
game.MainGame
This is the main class for the game Love Letter
- Version:
- 1.0
- Autor:
- Isabell Hans
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
initializeGame
(Scanner scanner, MainGame game) Queries the parameters of this game on the consolestatic void
The main methodvoid
startNewGame
(Scanner scanner, ArrayList<Player> players) This method starts a new game round
-
Konstruktordetails
-
MainGame
public MainGame()This is the constructor for the Main Game
-
-
Methodendetails
-
main
The main method- Parameter:
args
- For optional input
-
initializeGame
Queries the parameters of this game on the console- Parameter:
scanner
- The scanner used in the calling methodgame
- The game
-
startNewGame
This method starts a new game round- Parameter:
scanner
- The scanner used in the calling methodplayers
- Players to play with
-